Просмотр исходного кода

Fix missing-initializer warning

Nick Mathewson 11 лет назад
Родитель
Сommit
fabfa28c48
1 измененных файлов с 3 добавлено и 1 удалено
  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.