mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
SOCKS4: Value stored to 'rc' is never read
This commit is contained in:
parent
516dfd1705
commit
15fa5dcfe6
@ -172,8 +172,8 @@ CURLcode Curl_SOCKS4(const char *proxy_name,
|
||||
return CURLE_COULDNT_RESOLVE_PROXY;
|
||||
|
||||
if(rc == CURLRESOLV_PENDING)
|
||||
/* this requires that we're in "wait for resolve" state */
|
||||
rc = Curl_wait_for_resolv(conn, &dns);
|
||||
/* ignores the return code, but 'dns' remains NULL on failure */
|
||||
(void)Curl_wait_for_resolv(conn, &dns);
|
||||
|
||||
/*
|
||||
* We cannot use 'hostent' as a struct that Curl_resolv() returns. It
|
||||
|
Loading…
Reference in New Issue
Block a user