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

[tor-commits] [tor/master] Add an initializer to appease older gcc



commit d106caaadc66f519d66e7b20068050113d99a1ac
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Nov 30 18:08:07 2011 -0500

    Add an initializer to appease older gcc
---
 src/test/test_util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/test/test_util.c b/src/test/test_util.c
index c762a8d..f9b57d6 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1659,7 +1659,7 @@ test_util_split_lines(void *ptr)
   };
 
   int i, j;
-  char *orig_line;
+  char *orig_line=NULL;
   smartlist_t *sl=NULL;
 
   (void)ptr;

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