mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
PASV response: Value stored to 'rc' is never read
This commit is contained in:
parent
8f136288c5
commit
93981bb9b5
@ -1648,7 +1648,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
|
||||
rc = Curl_resolv(conn, newhost, newport, &addr);
|
||||
if(rc == CURLRESOLV_PENDING)
|
||||
/* BLOCKING */
|
||||
rc = Curl_wait_for_resolv(conn, &addr);
|
||||
(void)Curl_wait_for_resolv(conn, &addr);
|
||||
|
||||
connectport = newport; /* we connect to the remote port */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user