]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Curl_proxyCONNECT: remove superfluous statement
authorDaniel Stenberg <daniel@haxx.se>
Thu, 23 Oct 2014 20:40:23 +0000 (22:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 24 Oct 2014 06:23:19 +0000 (08:23 +0200)
The variable is already assigned, skip the duplicate assignment.

Pointed out by cppcheck.

lib/http_proxy.c

index 5343eb718a0d901daa336d48a6f7b7e33d1e77d8..c1c6d65e82f7beb271eba8b9e7d07cbd5f36ac92 100644 (file)
@@ -252,7 +252,6 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
 
       nread=0;
       perline=0;
-      keepon=TRUE;
 
       while((nread<BUFSIZE) && (keepon && !error)) {