mingw fix: avoid "unused var" warning.

This is a backport of 19615bce64 to
fix bug 22838.
This commit is contained in:
Nick Mathewson 2017-07-06 13:12:33 -04:00
parent 5ff0f1ab9e
commit ae756f251f
2 changed files with 6 additions and 0 deletions

5
changes/bug22838_028 Normal file
View File

@ -0,0 +1,5 @@
o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
- Backport a fix for an "unused variable" warning that appeared
in some versions of mingw. Fixes bug 22838; bugfix on
0.2.8.1-alpha.

View File

@ -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;