From 786992c801f71cfaf02e512076356379c34e8002 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 20 Nov 2017 23:12:19 +0100 Subject: http2: fix "Value stored to 'hdbuf' is never read" scan-build error --- lib/http2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/http2.c') diff --git a/lib/http2.c b/lib/http2.c index 5518a70ab..86419cb6d 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -1848,8 +1848,6 @@ static ssize_t http2_send(struct connectdata *conn, int sockindex, goto fail; } - hdbuf = end + 1; - end = line_end; nva[2].name = (unsigned char *)":scheme"; nva[2].namelen = strlen((char *)nva[2].name); -- cgit v1.2.3