[tor-commits] [tor/master] Fix missing-initializer warning
    nickm at torproject.org 
    nickm at torproject.org
       
    Thu Apr 16 15:17:28 UTC 2015
    
    
  
commit fabfa28c48cb50979ec4ee170af2b948f7676ae8
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Apr 16 11:16:20 2015 -0400
    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 d0ed529..1bc17a0 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.
    
    
More information about the tor-commits
mailing list