[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix a windows unused-arg warning
commit 3f9fac7ee40f8cf7b335c2d5808406b5d8697a47
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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();
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits