]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
singleipconnect: remove dead assignment never used
authorDaniel Stenberg <daniel@haxx.se>
Tue, 14 Oct 2014 07:16:16 +0000 (09:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Oct 2014 07:16:28 +0000 (09:16 +0200)
cppcheck pointed this out.

lib/connect.c

index f753c747da059e028a15633894a302c9e6b6fee2..f02d9a190c6176e07970b5a4706ee1a5326b9ccf 100644 (file)
@@ -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;