From: Max Kellermann Date: Mon, 23 Nov 2009 21:16:48 +0000 (+0100) Subject: colors: work around "value computed is not used" warning X-Git-Tag: release-0.16~19 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f783fe4cf33ab72054ebd5923837cf9d09e540db;p=ncmpc.git colors: work around "value computed is not used" warning Cast wattrset() to void. --- 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