mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
FTP PORT: Value stored to 'rc' is never read
This commit is contained in:
parent
c0111460b0
commit
d6be52d80e
@ -820,7 +820,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
|
||||
/* resolv ip/host to ip */
|
||||
rc = Curl_resolv(conn, host, 0, &h);
|
||||
if(rc == CURLRESOLV_PENDING)
|
||||
rc = Curl_wait_for_resolv(conn, &h);
|
||||
(void)Curl_wait_for_resolv(conn, &h);
|
||||
if(h) {
|
||||
res = h->addr;
|
||||
/* when we return from this function, we can forget about this entry
|
||||
|
Loading…
Reference in New Issue
Block a user