mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -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
|
|
@ -120,10 +120,8 @@ static char* utf8_validate(const char *str, char *output) {
|
|||
size = 4;
|
||||
min = (1 << 16);
|
||||
val = (uint32_t) (*p & 0x07);
|
||||
} else {
|
||||
size = 1;
|
||||
} else
|
||||
goto error;
|
||||
}
|
||||
|
||||
p++;
|
||||
if (!is_continuation_char(*p))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue