From: Nick Mathewson Date: Thu, 16 Apr 2015 15:16:20 +0000 (-0400) Subject: Fix missing-initializer warning X-Git-Tag: tor-0.2.7.1-alpha~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fabfa28c48cb50979ec4ee170af2b948f7676ae8;p=thirdparty%2Ftor.git Fix missing-initializer warning --- 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.