mirror of
https://github.com/curl/curl.git
synced 2025-04-06 16:10:34 +08:00
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:
parent
3f4b1b4ee5
commit
1b70748e86
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user