소스 검색

Fix a windows unused-arg warning

Nick Mathewson 9 년 전
부모
커밋
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();