aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-23 22:42:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-24 08:23:19 +0200
commit8e34d3f9efd046ed0fe9eb0ee859959624df6b0f (patch)
treef1868245ca3d181df3cbcfaa687f2801cd3b5356
parent5b73f3576159b0d82b9acc494b96ca946d3ed881 (diff)
Curl_pp_readresp: remove superfluous assignment
Variable already assigned a few lines up. Detected by cppcheck.
-rw-r--r--lib/pingpong.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pingpong.c b/lib/pingpong.c
index c7e89d0a8..adfb50a63 100644
--- a/lib/pingpong.c
+++ b/lib/pingpong.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -285,8 +285,6 @@ CURLcode Curl_pp_readresp(curl_socket_t sockfd,
/* number of bytes in the current line, so far */
perline = (ssize_t)(ptr-pp->linestart_resp);
- keepon=TRUE;
-
while((pp->nread_resp<BUFSIZE) && (keepon && !result)) {
if(pp->cache) {