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

nickm at torproject.org nickm at torproject.org
Wed Nov 30 23:05:24 UTC 2011


commit d106caaadc66f519d66e7b20068050113d99a1ac
Author: Nick Mathewson <nickm at torproject.org>
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;



More information about the tor-commits mailing list