[tor-commits] [tor/master] mingw fix: avoid "unused var" warning.

nickm at torproject.org nickm at torproject.org
Fri May 19 19:51:02 UTC 2017


commit 19615bce64cd381a925bc3910120ac39ca918e7c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri May 19 15:50:12 2017 -0400

    mingw fix: avoid "unused var" warning.
---
 src/test/test_switch_id.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_switch_id.c b/src/test/test_switch_id.c
index 44e02e8..53de793 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;





More information about the tor-commits mailing list