From 51e9aae0c12e7bea45d9d18a1a7282aee22ba557 Mon Sep 17 00:00:00 2001 From: William Ahern Date: Thu, 25 Feb 2016 18:16:45 -0800 Subject: silence really annoying -Wmissing-field-initializers GCC and clang warning --- timeout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); \ -- cgit v1.2.3