]> granicus.if.org Git - curl/commitdiff
FTP PORT: Value stored to 'rc' is never read
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Apr 2010 21:43:54 +0000 (23:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Apr 2010 21:45:05 +0000 (23:45 +0200)
lib/ftp.c

index 11bd80fd6bcb5a648103756b49edbfcd3773402a..95e2a12006de5b7117133209c7dbc220ab6d741a 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -820,7 +820,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
   /* resolv ip/host to ip */
   rc = Curl_resolv(conn, host, 0, &h);
   if(rc == CURLRESOLV_PENDING)
-    rc = Curl_wait_for_resolv(conn, &h);
+    (void)Curl_wait_for_resolv(conn, &h);
   if(h) {
     res = h->addr;
     /* when we return from this function, we can forget about this entry