projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f13628
)
PASV response: Value stored to 'rc' is never read
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 16 Apr 2010 21:28:20 +0000
(23:28 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 16 Apr 2010 21:28:20 +0000
(23:28 +0200)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/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 */