From dd14603156bf8d503536f26cc176aa3ab755b347 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 13 Jul 2019 12:01:12 -0700 Subject: [PATCH] COVA11876: WARN_UNUSED_RESULT on lws_buflist_append_segment --- include/libwebsockets/lws-misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libwebsockets/lws-misc.h b/include/libwebsockets/lws-misc.h index 614a988fd..9293befb6 100644 --- a/include/libwebsockets/lws-misc.h +++ b/include/libwebsockets/lws-misc.h @@ -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); /**