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: curl-7_21_0~144^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93981bb9b5026f88ed4dec5d790bb7c84265210a;p=thirdparty%2Fcurl.git PASV response: Value stored to 'rc' is never read --- diff --git a/lib/ftp.c b/lib/ftp.c index 870befc860..9df4e23bcd 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 */