chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: make gcc shut up
[elogind.git]
/
util.h
diff --git
a/util.h
b/util.h
index af39accc946c47c079ace7164f9e65c38d7f86db..d0fd66dda4d71a75ffa6d84a709aa44c578a9f7a 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-163,7
+163,7
@@
bool ignore_file(const char *filename);
} \
type name##_from_string(const char *s) { \
type i; \
- unsigned u
;
\
+ unsigned u
= 0;
\
assert(s); \
for (i = 0; i < (type)ELEMENTSOF(name##_table); i++) \
if (streq(name##_table[i], s)) \