summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-20 23:12:19 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-21 09:02:41 +0100
commit786992c801f71cfaf02e512076356379c34e8002 (patch)
treeb9d39642d5950b46519ce05aeff95288c770ea97
parent3d97e37441596b5840be7c667db03f6fe4657051 (diff)
downloadcurl-786992c801f71cfaf02e512076356379c34e8002.tar.gz
http2: fix "Value stored to 'hdbuf' is never read" scan-build error
-rw-r--r--lib/http2.c2
1 files changed, 0 insertions, 2 deletions
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);