mirror of
https://github.com/curl/curl.git
synced 2026-07-16 12:57:16 +03:00
asyn-thrdd: silence unused parameter warning
Closes https://github.com/curl/curl/pull/18310
This commit is contained in:
parent
0ea1e50d00
commit
a559f94321
1 changed files with 4 additions and 0 deletions
|
|
@ -644,6 +644,10 @@ CURLcode Curl_async_pollset(struct Curl_easy *data, struct easy_pollset *ps)
|
|||
struct async_thrdd_ctx *thrdd = &data->state.async.thrdd;
|
||||
CURLcode result = CURLE_OK;
|
||||
|
||||
#if !defined(USE_HTTPSRR_ARES) && defined(CURL_DISABLE_SOCKETPAIR)
|
||||
(void)ps;
|
||||
#endif
|
||||
|
||||
#ifdef USE_HTTPSRR_ARES
|
||||
if(thrdd->rr.channel) {
|
||||
result = Curl_ares_pollset(data, thrdd->rr.channel, ps);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue