Commit 51e9aae0 authored by William Ahern's avatar William Ahern

silence really annoying -Wmissing-field-initializers GCC and clang warning

parent 256d58db
...@@ -202,7 +202,7 @@ TIMEOUT_PUBLIC bool timeouts_check(struct timeouts *, FILE *); ...@@ -202,7 +202,7 @@ TIMEOUT_PUBLIC bool timeouts_check(struct timeouts *, FILE *);
#define TIMEOUTS_EXPIRED 0x20 #define TIMEOUTS_EXPIRED 0x20
#define TIMEOUTS_ALL (TIMEOUTS_PENDING|TIMEOUTS_EXPIRED) #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 { \ #define TIMEOUTS_IT_INIT(cur, _flags) do { \
(cur)->flags = (_flags); \ (cur)->flags = (_flags); \
......
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