mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
clean: gcc13 false positive uninitialized
https://github.com/warmcat/libwebsockets/issues/3004
This commit is contained in:
parent
5bcc5ac655
commit
bfce9f8618
1 changed files with 1 additions and 1 deletions
|
@ -2816,7 +2816,6 @@ int
|
|||
lws_read_h2(struct lws *wsi, unsigned char *buf, lws_filepos_t len)
|
||||
{
|
||||
unsigned char *oldbuf = buf;
|
||||
lws_filepos_t body_chunk_len;
|
||||
|
||||
// lwsl_notice("%s: h2 path: wsistate 0x%x len %d\n", __func__,
|
||||
// wsi->wsistate, (int)len);
|
||||
|
@ -2832,6 +2831,7 @@ lws_read_h2(struct lws *wsi, unsigned char *buf, lws_filepos_t len)
|
|||
* case.
|
||||
*/
|
||||
while (len) {
|
||||
lws_filepos_t body_chunk_len = 0;
|
||||
int m;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue