]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix missing-initializer warning
authorNick Mathewson <nickm@torproject.org>
Thu, 16 Apr 2015 15:16:20 +0000 (11:16 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 16 Apr 2015 15:16:20 +0000 (11:16 -0400)
src/or/main.c

index d0ed5296874296ac5156a64dc45e894bf846fec1..1bc17a0d7a3e9dbedc63dc913d0b3dff0d11f08e 100644 (file)
@@ -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.