From cc95dbd64f35bc11c55c475d32012c5491e2f01b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 19 Sep 2019 09:54:12 +0200 Subject: http_proxy: part of conditional expression is always true: !error Fixes warning detected by PVS-Studio Fixes #4374 --- lib/http_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http_proxy.c b/lib/http_proxy.c index ba67b861b..710101774 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -327,7 +327,7 @@ static CURLcode CONNECT(struct connectdata *conn, { /* READING RESPONSE PHASE */ int error = SELECT_OK; - while(s->keepon && !error) { + while(s->keepon) { ssize_t gotbytes; /* make sure we have space to read more data */ -- cgit v1.2.3