From c2d5f2ef983f752fca654aba9bcd1383698bdc04 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 14 Oct 2014 09:16:16 +0200 Subject: [PATCH] singleipconnect: remove dead assignment never used cppcheck pointed this out. --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;