1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

View File

@ -1848,7 +1848,6 @@ static ssize_t http2_send(struct connectdata *conn, int sockindex,
goto fail; goto fail;
} }
end = line_end;
nva[2].name = (unsigned char *)":scheme"; nva[2].name = (unsigned char *)":scheme";
nva[2].namelen = strlen((char *)nva[2].name); nva[2].namelen = strlen((char *)nva[2].name);
if(conn->handler->flags & PROTOPT_SSL) if(conn->handler->flags & PROTOPT_SSL)