summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-15 15:57:15 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-15 15:57:47 -0500
commit6c8b6e9e78429297e8d73a502d10dacf47efeea3 (patch)
tree6f8f264a7eb3ffe09a05a953fcb991fdf99943ca
parentb90f9ebbb2e985ddc9b644404b862376d72e16d3 (diff)
downloadtor-6c8b6e9e78429297e8d73a502d10dacf47efeea3.tar.gz
tor-6c8b6e9e78429297e8d73a502d10dacf47efeea3.zip
Fix unreachable use-before-assign in test_util_join_win_cmdline
Apparently there is a compiler that believes this is something to warn about.
-rw-r--r--src/test/test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index b17e414255..c2cb4448e6 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;