From 1b70748e862eaa4d2ae4b8e1d34bc3b47540af22 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Thu, 2 Sep 2021 15:47:42 +0200 Subject: multi: fix compiler warning with `CURL_DISABLE_WAKEUP` `use_wakeup` is unused in this case. Closes https://github.com/curl/curl/pull/7661 --- lib/multi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/multi.c b/lib/multi.c index 82d538d00..85097816d 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1100,6 +1100,9 @@ static CURLMcode multi_wait(struct Curl_multi *multi, WSANETWORKEVENTS wsa_events; DEBUGASSERT(multi->wsa_event != WSA_INVALID_EVENT); #endif +#ifndef ENABLE_WAKEUP + (void)use_wakeup; +#endif if(!GOOD_MULTI_HANDLE(multi)) return CURLM_BAD_HANDLE; -- cgit v1.2.1