From: Nick Mathewson Date: Wed, 17 Sep 2014 15:00:27 +0000 (-0400) Subject: Fix a windows unused-arg warning X-Git-Tag: tor-0.2.6.1-alpha~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f9fac7ee40f8cf7b335c2d5808406b5d8697a47;p=thirdparty%2Ftor.git Fix a windows unused-arg warning --- 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();