[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix unreachable use-before-assign in test_util_join_win_cmdline
commit 6c8b6e9e78429297e8d73a502d10dacf47efeea3
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri Feb 15 15:57:15 2013 -0500
Fix unreachable use-before-assign in test_util_join_win_cmdline
Apparently there is a compiler that believes this is something to
warn about.
---
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 b17e414..c2cb444 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -2713,7 +2713,7 @@ test_util_join_win_cmdline(void *ptr)
};
int i;
- char *joined_argv;
+ char *joined_argv = NULL;
(void)ptr;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits