Commit 4d7ac69f authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Fix windows compilation warning in test_config.c

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

Spotted by weasel using Jenkins.
parent 97d1caad
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -196,7 +196,9 @@ test_config_check_or_create_data_subdir(void *arg)
  const char *subpath = get_datadir_fname(subdir);
  const char *subpath = get_datadir_fname(subdir);
  struct stat st;
  struct stat st;
  int r;
  int r;
#if !defined (_WIN32) || defined (WINCE)
  unsigned group_permission;
  unsigned group_permission;
#endif
  (void)arg;
  (void)arg;


#if defined (_WIN32) && !defined (WINCE)
#if defined (_WIN32) && !defined (WINCE)