[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix missing-initializer warning



commit fabfa28c48cb50979ec4ee170af2b948f7676ae8
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits