mirror of
https://github.com/curl/curl.git
synced 2025-09-18 18:12:49 +03: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;
|
WSANETWORKEVENTS wsa_events;
|
||||||
DEBUGASSERT(multi->wsa_event != WSA_INVALID_EVENT);
|
DEBUGASSERT(multi->wsa_event != WSA_INVALID_EVENT);
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef ENABLE_WAKEUP
|
||||||
|
(void)use_wakeup;
|
||||||
|
#endif
|
||||||
|
|
||||||
if(!GOOD_MULTI_HANDLE(multi))
|
if(!GOOD_MULTI_HANDLE(multi))
|
||||||
return CURLM_BAD_HANDLE;
|
return CURLM_BAD_HANDLE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user