From f783fe4cf33ab72054ebd5923837cf9d09e540db Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 23 Nov 2009 22:16:48 +0100 Subject: [PATCH] colors: work around "value computed is not used" warning Cast wattrset() to void. --- src/colors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/colors.c b/src/colors.c index a6c7e2c..1b3300d 100644 --- a/src/colors.c +++ b/src/colors.c @@ -299,7 +299,7 @@ colors_use(WINDOW *w, enum color id) #endif /* mono mode */ if (attrs != entry->attrs) - wattrset(w, entry->attrs); + (void)wattrset(w, entry->attrs); #ifdef ENABLE_COLORS } #endif -- 2.30.2