summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-06 13:12:33 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-07 10:54:24 -0400
commitae756f251ffe155336deef0bb97643203d1cfa56 (patch)
tree83c3ee3b11a401029f78c8292774ba6382c87b22 /src/test
parent5ff0f1ab9e3a0b82b177b3f710201d0ad35b69c4 (diff)
downloadtor-ae756f251ffe155336deef0bb97643203d1cfa56.tar.gz
tor-ae756f251ffe155336deef0bb97643203d1cfa56.zip
mingw fix: avoid "unused var" warning.
This is a backport of 19615bce64cd381a925bc3910120ac39ca918e7c to fix bug 22838.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_switch_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_switch_id.c b/src/test/test_switch_id.c
index 322f5bdc7a..e12205bb2e 100644
--- a/src/test/test_switch_id.c
+++ b/src/test/test_switch_id.c
@@ -79,6 +79,7 @@ main(int argc, char **argv)
#if defined(_WIN32)
(void) argc;
(void) argv;
+ (void) which_test;
fprintf(stderr, "This test is not supported on your OS.\n");
return 77;