Browse Source

Fix windows compilation warning in test_config.c

bugfix on 78cc5833a1da038331186ddf07f4add7f8f1094b; bug not in any
released Tor.

Spotted by weasel using Jenkins.
Nick Mathewson 11 years ago
parent
commit
4d7ac69f05
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/test/test_config.c

+ 2 - 0
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)