]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a windows unused-arg warning
authorNick Mathewson <nickm@torproject.org>
Wed, 17 Sep 2014 15:00:27 +0000 (11:00 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 17 Sep 2014 15:00:27 +0000 (11:00 -0400)
src/test/test_util.c

index ae96be44210fcc269cb7c99d66fd99c4dc7cf51f..9d9b393a2752c898c3cb2792dd24a4f69a614f47 100644 (file)
@@ -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();