projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0520195
)
util: fix a scan-build warning (value set but not read)
author
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 22 Mar 2020 00:43:52 +0000
(10:43 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 22 Mar 2020 00:43:52 +0000
(10:43 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/util-strings.c
patch
|
blob
|
history
diff --git
a/src/util-strings.c
b/src/util-strings.c
index f6dc547846bdf7c1c60bb5f57446a2d43da95e2c..4fad1754d4354fbace2df9b44ae52e8e7eb5e966 100644
(file)
--- a/
src/util-strings.c
+++ b/
src/util-strings.c
@@
-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)