[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 19615bce64cd381a925bc3910120ac39ca918e7c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits