1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

COVA11876: WARN_UNUSED_RESULT on lws_buflist_append_segment

This commit is contained in:
Andy Green 2019-07-13 12:01:12 -07:00
parent 7bbf6ebc7e
commit dd14603156

View file

@ -327,7 +327,7 @@ struct lws_buflist;
* Returns -1 on OOM, 1 if this was the first segment on the list, and 0 if
* it was a subsequent segment.
*/
LWS_VISIBLE LWS_EXTERN int
LWS_VISIBLE LWS_EXTERN int LWS_WARN_UNUSED_RESULT
lws_buflist_append_segment(struct lws_buflist **head, const uint8_t *buf,
size_t len);
/**