Explorar o código

Fix missing-initializer warning

Nick Mathewson %!s(int64=11) %!d(string=hai) anos
pai
achega
fabfa28c48
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/or/main.c

+ 3 - 1
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.