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

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

View File

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