From: Daniel Stenberg Date: Fri, 16 Apr 2010 21:28:20 +0000 (+0200) Subject: PASV response: Value stored to 'rc' is never read X-Git-Tag: upstream/7.37.1~5116^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93981bb9b5026f88ed4dec5d790bb7c84265210a;p=platform%2Fupstream%2Fcurl.git PASV response: Value stored to 'rc' is never read --- diff --git a/lib/ftp.c b/lib/ftp.c index 870befc..9df4e23 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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 */