From dd02b58523c43bf517bb6e9d69b4983068e6b89c Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 13 Dec 2011 11:36:35 +0100 Subject: remove the use of -Wno-unused-value It has been hiding actual mistakes, and there are not too many changes necessary to make things build without suppressing this warning. Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- Config.mk | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Config.mk') diff --git a/Config.mk b/Config.mk index 66fbebb0b5..e089fbd7c8 100644 --- a/Config.mk +++ b/Config.mk @@ -157,10 +157,6 @@ CFLAGS += -std=gnu99 CFLAGS += -Wall -Wstrict-prototypes -# -Wunused-value makes GCC 4.x too aggressive for my taste: ignoring the -# result of any casted expression causes a warning. -CFLAGS += -Wno-unused-value - # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' # and is over-zealous with the printf format lint CFLAGS-$(clang) += -Wno-parentheses -Wno-format -- cgit v1.2.3