multi: fix compiler warning with CURL_DISABLE_WAKEUP

`use_wakeup` is unused in this case.

Closes https://github.com/curl/curl/pull/7661
This commit is contained in:
Marcel Raad 2021-09-02 15:47:42 +02:00
parent 3f4b1b4ee5
commit 1b70748e86
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02

View File

@ -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;