From: Daniel Stenberg Date: Mon, 20 Nov 2017 22:13:03 +0000 (+0100) Subject: http2: fix "Value stored to 'end' is never read" scan-build error X-Git-Tag: curl-7_57_0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9474a5fe11c6d9da32ad3ec49d52e72cdb6d42ce;p=thirdparty%2Fcurl.git http2: fix "Value stored to 'end' is never read" scan-build error --- diff --git a/lib/http2.c b/lib/http2.c index 86419cb6dd..8e2fc71996 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -1848,7 +1848,6 @@ static ssize_t http2_send(struct connectdata *conn, int sockindex, goto fail; } - end = line_end; nva[2].name = (unsigned char *)":scheme"; nva[2].namelen = strlen((char *)nva[2].name); if(conn->handler->flags & PROTOPT_SSL)