aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-04-16 23:43:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-16 23:45:05 +0200
commitd6be52d80e10ddb04e55177a9d4afbd27aafb634 (patch)
tree7f10fcc5875e9782af162f6f05b45bf85f88ad8d
parentc0111460b0689d74731cc56ff019cc869a0d16a8 (diff)
FTP PORT: Value stored to 'rc' is never read
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 11bd80fd6..95e2a1200 100644
--- 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