aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-04-16 23:03:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-16 23:03:55 +0200
commit15fa5dcfe6ad34f8f9d360163c44caf05c771210 (patch)
tree3a61a6d64df58e3d60154852a14debadd10e359d /lib
parent516dfd17054c771833c4a4096f5f978e5446e7c4 (diff)
SOCKS4: Value stored to 'rc' is never read
Diffstat (limited to 'lib')
-rw-r--r--lib/socks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks.c b/lib/socks.c
index 0b051545c..df301ecec 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -172,8 +172,8 @@ CURLcode Curl_SOCKS4(const char *proxy_name,
return CURLE_COULDNT_RESOLVE_PROXY;
if(rc == CURLRESOLV_PENDING)
- /* this requires that we're in "wait for resolve" state */
- rc = Curl_wait_for_resolv(conn, &dns);
+ /* ignores the return code, but 'dns' remains NULL on failure */
+ (void)Curl_wait_for_resolv(conn, &dns);
/*
* We cannot use 'hostent' as a struct that Curl_resolv() returns. It