From 0524980cb44bc1d96df7974835c3c28351e1aeae Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 11 Nov 2023 13:20:41 +1100 Subject: [PATCH] [client] msg: make it clear we ignore the return for ll_shift --- client/src/overlay/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/overlay/msg.c b/client/src/overlay/msg.c index d08f7861..9ff950ab 100644 --- a/client/src/overlay/msg.c +++ b/client/src/overlay/msg.c @@ -163,7 +163,7 @@ static int msg_render(void * udata, bool interactive, struct Rect * windowRects, if (destroy) { - ll_shift(l_msg.messages, NULL); + (void)ll_shift(l_msg.messages, NULL); freeMsg(msg); app_invalidateOverlay(false); }