aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-03 13:39:31 -0400
committerNick Mathewson <nickm@torproject.org>2013-09-03 13:39:31 -0400
commit5c9008e0b077e79297a5245573675d95a1f266cc (patch)
tree8615c2b113493991d00beb0e3e95951ecd751720 /src/test
parent37534880113133716b220bf6d5ffaaf910072b30 (diff)
downloadtor-5c9008e0b077e79297a5245573675d95a1f266cc.tar
tor-5c9008e0b077e79297a5245573675d95a1f266cc.tar.gz
Fix some "ISO C90 forbids mixed declarations and code" warnings
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 0292cbd66..94d1284f8 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -2367,8 +2367,8 @@ test_dir_fmt_control_ns(void *arg)
static void
test_dir_http_handling(void *args)
{
- (void)args;
char *url = NULL;
+ (void)args;
/* Parse http url tests: */
/* Good headers */