[tor-commits] [tor/master] Fix a windows unused-arg warning
nickm at torproject.org
nickm at torproject.org
Wed Sep 17 15:00:29 UTC 2014
commit 3f9fac7ee40f8cf7b335c2d5808406b5d8697a47
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Sep 17 11:00:27 2014 -0400
Fix a windows unused-arg warning
---
src/test/test_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_util.c b/src/test/test_util.c
index ae96be4..9d9b393 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();
More information about the tor-commits
mailing list