Commit a1a419df authored by Peter Hutterer's avatar Peter Hutterer

util: fix a scan-build warning (value set but not read)

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 05201958
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment