From: Daniel Stenberg Date: Thu, 23 Oct 2014 20:42:15 +0000 (+0200) Subject: Curl_pp_readresp: remove superfluous assignment X-Git-Tag: curl-7_39_0~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e34d3f9efd046ed0fe9eb0ee859959624df6b0f;p=thirdparty%2Fcurl.git Curl_pp_readresp: remove superfluous assignment Variable already assigned a few lines up. Detected by cppcheck. --- diff --git a/lib/pingpong.c b/lib/pingpong.c index c7e89d0a82..adfb50a63d 100644 --- a/lib/pingpong.c +++ b/lib/pingpong.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2013, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, , 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_respcache) {