summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Ahern <[email protected]>2016-02-25 18:16:45 -0800
committerWilliam Ahern <[email protected]>2016-02-25 18:16:45 -0800
commit51e9aae0c12e7bea45d9d18a1a7282aee22ba557 (patch)
tree20ad1bac03a2eb29c0256f9c4c9ac41b77631fe7
parent256d58dbc6819c7f9d9abfe22cb25c7c91b9d8c2 (diff)
silence really annoying -Wmissing-field-initializers GCC and clang warning
-rw-r--r--timeout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/timeout.h b/timeout.h
index 1ef047b..906c133 100644
--- a/timeout.h
+++ b/timeout.h
@@ -202,7 +202,7 @@ TIMEOUT_PUBLIC bool timeouts_check(struct timeouts *, FILE *);
#define TIMEOUTS_EXPIRED 0x20
#define TIMEOUTS_ALL (TIMEOUTS_PENDING|TIMEOUTS_EXPIRED)
-#define TIMEOUTS_IT_INITIALIZER(flags) { (flags) }
+#define TIMEOUTS_IT_INITIALIZER(flags) { (flags), 0, 0, 0, 0 }
#define TIMEOUTS_IT_INIT(cur, _flags) do { \
(cur)->flags = (_flags); \