aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-14 09:16:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-14 09:16:28 +0200
commitc2d5f2ef983f752fca654aba9bcd1383698bdc04 (patch)
treeb2be2292231923e24bc5216c306a8223fcf8f4f0 /lib
parent9d64ab7d5a15b9271bef58cc19d65da151e6ceb0 (diff)
singleipconnect: remove dead assignment never used
cppcheck pointed this out.
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index f753c747d..f02d9a190 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -988,7 +988,7 @@ singleipconnect(struct connectdata *conn,
bool isconnected = FALSE;
struct SessionHandle *data = conn->data;
curl_socket_t sockfd;
- CURLcode res = CURLE_OK;
+ CURLcode res;
char ipaddress[MAX_IPADR_LEN];
long port;