summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-20 23:13:03 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-21 09:02:41 +0100
commit9474a5fe11c6d9da32ad3ec49d52e72cdb6d42ce (patch)
treec2236a07c09b5e9862cdb375ed713d0d065c31a1
parent786992c801f71cfaf02e512076356379c34e8002 (diff)
downloadcurl-9474a5fe11c6d9da32ad3ec49d52e72cdb6d42ce.tar.gz
http2: fix "Value stored to 'end' is never read" scan-build error
-rw-r--r--lib/http2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 86419cb6d..8e2fc7199 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)