summaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-17 11:00:27 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-17 11:00:27 -0400
commit3f9fac7ee40f8cf7b335c2d5808406b5d8697a47 (patch)
treea57d66de88c0005718e44a6dc351bd27291c52e8 /src/test/test_util.c
parent35156ffcc3a0b1a62df2affabd691349e880156f (diff)
downloadtor-3f9fac7ee40f8cf7b335c2d5808406b5d8697a47.tar.gz
tor-3f9fac7ee40f8cf7b335c2d5808406b5d8697a47.zip
Fix a windows unused-arg warning
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index ae96be4421..9d9b393a27 100644
--- a/src/test/test_util.c
+++ b/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();