mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 19:20:15 +01:00
util: fix a scan-build warning (value set but not read)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
05201958eb
commit
a1a419df6c
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ strv_from_string(const char *in, const char *separators)
|
|||
assert(in != NULL);
|
||||
|
||||
s = in;
|
||||
while ((word = next_word(&s, &l, separators)) != NULL)
|
||||
while (next_word(&s, &l, separators) != NULL)
|
||||
nelems++;
|
||||
|
||||
if (nelems == 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue