mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes
This commit is contained in:
parent
b2606cf641
commit
f5046759cd
20 changed files with 49 additions and 59 deletions
|
|
@ -200,13 +200,13 @@ pa_memtrap *pa_memtrap_update(pa_memtrap *m, const void *start, size_t size) {
|
|||
goto unlock;
|
||||
|
||||
memtrap_unlink(m, j);
|
||||
j = pa_aupdate_write_swap(aupdate);
|
||||
pa_aupdate_write_swap(aupdate);
|
||||
|
||||
m->start = (void*) start;
|
||||
m->size = size;
|
||||
pa_atomic_store(&m->bad, 0);
|
||||
|
||||
j = pa_aupdate_write_swap(aupdate);
|
||||
pa_assert_se(pa_aupdate_write_swap(aupdate) == j);
|
||||
memtrap_link(m, j);
|
||||
|
||||
unlock:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue