From: Daniel Stenberg Date: Mon, 20 Nov 2017 22:12:19 +0000 (+0100) Subject: http2: fix "Value stored to 'hdbuf' is never read" scan-build error X-Git-Tag: curl-7_57_0~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=786992c801f71cfaf02e512076356379c34e8002;p=curl http2: fix "Value stored to 'hdbuf' is never read" scan-build error --- 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);