mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cov263975: help coverity see false positive
This commit is contained in:
parent
4f6fdd41b9
commit
b2a112568c
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ _lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size, char backfill)
|
|||
lachead = (struct lwsac_head *)&bf[1];
|
||||
memset(lachead, 0, sizeof(*lachead));
|
||||
} else
|
||||
lachead->curr->next = bf;
|
||||
if (lachead->curr)
|
||||
lachead->curr->next = bf;
|
||||
|
||||
lachead->curr = bf;
|
||||
bf->head = *head;
|
||||
|
|
Loading…
Add table
Reference in a new issue