aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-05-29 12:08:28 -0400
committerNick Mathewson <nickm@torproject.org>2013-05-29 12:08:28 -0400
commit4d7ac69f05ea80e0a79efe2af64dfe66d788e8df (patch)
tree96bbca424e691a4f245d3648d1ac6656d0cc149a
parent97d1caadfdf63043e23c7c3fd45465859e1340e2 (diff)
downloadtor-4d7ac69f05ea80e0a79efe2af64dfe66d788e8df.tar
tor-4d7ac69f05ea80e0a79efe2af64dfe66d788e8df.tar.gz
Fix windows compilation warning in test_config.c
bugfix on 78cc5833a1da038331186ddf07f4add7f8f1094b; bug not in any released Tor. Spotted by weasel using Jenkins.
-rw-r--r--src/test/test_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 8316d0eda..2a23e33a8 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)