http2: fix "Value stored to 'end' is never read" scan-build error

This commit is contained in:
Daniel Stenberg 2017-11-20 23:13:03 +01:00
parent 786992c801
commit 9474a5fe11
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 0 additions and 1 deletions

View File

@ -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)