summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/Curl/hostthre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/Curl/hostthre.c b/Source/CTest/Curl/hostthre.c
index 7191418..a637e36 100644
--- a/Source/CTest/Curl/hostthre.c
+++ b/Source/CTest/Curl/hostthre.c
@@ -341,6 +341,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
conn->data->set.timeout ? conn->data->set.timeout :
CURL_TIMEOUT_RESOLVE; /* default name resolve timeout */
ticks = GetTickCount();
+ (void)ticks;
status = WaitForSingleObject(td->thread_hnd, 1000UL*timeout);
if (status == WAIT_OBJECT_0 || status == WAIT_ABANDONED) {