From fabfa28c48cb50979ec4ee170af2b948f7676ae8 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 16 Apr 2015 11:16:20 -0400 Subject: [PATCH] Fix missing-initializer warning --- src/or/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/or/main.c b/src/or/main.c index d0ed529687..1bc17a0d7a 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1225,7 +1225,9 @@ typedef struct { time_t check_for_correct_dns; } time_to_t; -static time_to_t time_to = { 0 }; +static time_to_t time_to = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; /** Reset all the time_to's so we'll do all our actions again as if we * just started up.