Skip to content

Commit

Permalink
Curl_pp_readresp: remove superfluous assignment
Browse files Browse the repository at this point in the history
Variable already assigned a few lines up.

Detected by cppcheck.
  • Loading branch information
bagder committed Oct 24, 2014
1 parent 5b73f35 commit 8e34d3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/pingpong.c
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 8e34d3f

Please sign in to comment.