mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
asyn-ares: drop orphaned variable references
In rare, conditional `#if` branches. Found by Codex Security Follow-up toac7e2c3dc6#17450 Follow-up to7bf576064c#17167 Closes #20999
This commit is contained in:
parent
ad9836dfa4
commit
e345dfb958
1 changed files with 0 additions and 2 deletions
|
|
@ -896,7 +896,6 @@ CURLcode Curl_async_ares_set_dns_interface(struct Curl_easy *data)
|
|||
return CURLE_OK;
|
||||
#else /* c-ares version too old! */
|
||||
(void)data;
|
||||
(void)interf;
|
||||
return CURLE_NOT_BUILT_IN;
|
||||
#endif
|
||||
}
|
||||
|
|
@ -925,7 +924,6 @@ CURLcode Curl_async_ares_set_dns_local_ip4(struct Curl_easy *data)
|
|||
return CURLE_OK;
|
||||
#else /* c-ares version too old! */
|
||||
(void)data;
|
||||
(void)local_ip4;
|
||||
return CURLE_NOT_BUILT_IN;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue