diff options
| author | William Ahern <[email protected]> | 2016-02-25 18:16:45 -0800 |
|---|---|---|
| committer | William Ahern <[email protected]> | 2016-02-25 18:16:45 -0800 |
| commit | 51e9aae0c12e7bea45d9d18a1a7282aee22ba557 (patch) | |
| tree | 20ad1bac03a2eb29c0256f9c4c9ac41b77631fe7 | |
| parent | 256d58dbc6819c7f9d9abfe22cb25c7c91b9d8c2 (diff) | |
silence really annoying -Wmissing-field-initializers GCC and clang warning
| -rw-r--r-- | timeout.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); \ |
