From: Daniel Stenberg Date: Tue, 14 Oct 2014 07:16:16 +0000 (+0200) Subject: singleipconnect: remove dead assignment never used X-Git-Tag: curl-7_39_0~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2d5f2ef983f752fca654aba9bcd1383698bdc04;p=thirdparty%2Fcurl.git singleipconnect: remove dead assignment never used cppcheck pointed this out. --- diff --git a/lib/connect.c b/lib/connect.c index f753c747da..f02d9a190c 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;