diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 23:02:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 23:02:15 +0200 |
commit | 516dfd17054c771833c4a4096f5f978e5446e7c4 (patch) | |
tree | 33546ec3923570fa94dd9d424f869634801d118b | |
parent | 743bd81e64887644228665642f4c59fd15697371 (diff) |
FTP PASV: Value stored to 'rc' is never read
-rw-r--r-- | lib/ftp.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1630,8 +1630,9 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn, */ rc = Curl_resolv(conn, conn->proxy.name, (int)conn->port, &addr); if(rc == CURLRESOLV_PENDING) - /* BLOCKING */ - rc = Curl_wait_for_resolv(conn, &addr); + /* BLOCKING, ignores the return code but 'addr' will be NULL in + case of failure */ + (void)Curl_wait_for_resolv(conn, &addr); connectport = (unsigned short)conn->port; /* we connect to the proxy's port */ |