mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
clean: gcc13 false positive uninitialized
https://github.com/warmcat/libwebsockets/issues/3004
This commit is contained in:
parent
3454cd1f8a
commit
52597bf012
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)
|
lws_read_h2(struct lws *wsi, unsigned char *buf, lws_filepos_t len)
|
||||||
{
|
{
|
||||||
unsigned char *oldbuf = buf;
|
unsigned char *oldbuf = buf;
|
||||||
lws_filepos_t body_chunk_len;
|
|
||||||
|
|
||||||
// lwsl_notice("%s: h2 path: wsistate 0x%x len %d\n", __func__,
|
// lwsl_notice("%s: h2 path: wsistate 0x%x len %d\n", __func__,
|
||||||
// wsi->wsistate, (int)len);
|
// wsi->wsistate, (int)len);
|
||||||
|
@ -2832,6 +2831,7 @@ lws_read_h2(struct lws *wsi, unsigned char *buf, lws_filepos_t len)
|
||||||
* case.
|
* case.
|
||||||
*/
|
*/
|
||||||
while (len) {
|
while (len) {
|
||||||
|
lws_filepos_t body_chunk_len = 0;
|
||||||
int m;
|
int m;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue