From 5b73f3576159b0d82b9acc494b96ca946d3ed881 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 23 Oct 2014 22:40:23 +0200
Subject: [PATCH] Curl_proxyCONNECT: remove superfluous statement

The variable is already assigned, skip the duplicate assignment.

Pointed out by cppcheck.
---
 lib/http_proxy.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index 5343eb718a..c1c6d65e82 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -252,7 +252,6 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
 
       nread=0;
       perline=0;
-      keepon=TRUE;
 
       while((nread<BUFSIZE) && (keepon && !error)) {
 
-- 
GitLab