瀏覽代碼

Fix windows compilation warning in test_config.c

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

Spotted by weasel using Jenkins.
Nick Mathewson 12 年之前
父節點
當前提交
4d7ac69f05
共有 1 個文件被更改,包括 2 次插入0 次删除
  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)