From: Nick Mathewson Date: Wed, 29 May 2013 16:08:28 +0000 (-0400) Subject: Fix windows compilation warning in test_config.c X-Git-Tag: tor-0.2.5.1-alpha~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d7ac69f05ea80e0a79efe2af64dfe66d788e8df;p=thirdparty%2Ftor.git Fix windows compilation warning in test_config.c bugfix on 78cc5833a1da038331186ddf07f4add7f8f1094b; bug not in any released Tor. Spotted by weasel using Jenkins. --- diff --git a/src/test/test_config.c b/src/test/test_config.c index 8316d0eda4..2a23e33a86 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -196,7 +196,9 @@ test_config_check_or_create_data_subdir(void *arg) const char *subpath = get_datadir_fname(subdir); struct stat st; int r; +#if !defined (_WIN32) || defined (WINCE) unsigned group_permission; +#endif (void)arg; #if defined (_WIN32) && !defined (WINCE)