PASV response: Value stored to 'rc' is never read
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Apr 2010 21:28:20 +0000 (23:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Apr 2010 21:28:20 +0000 (23:28 +0200)
lib/ftp.c

index 870befc..9df4e23 100644 (file)
--- 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 */