Просмотр исходного кода

Fix a windows unused-arg warning

Nick Mathewson 9 лет назад
Родитель
Сommit
3f9fac7ee4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/test/test_util.c

+ 1 - 1
src/test/test_util.c

@@ -1432,10 +1432,10 @@ test_util_threads(void *arg)
   time_t started;
 #ifndef _WIN32
   struct timeval tv;
-  (void)arg;
   tv.tv_sec=0;
   tv.tv_usec=100*1000;
 #endif
+  (void)arg;
   thread_test_mutex_ = tor_mutex_new();
   thread_test_start1_ = tor_mutex_new();
   thread_test_start2_ = tor_mutex_new();