aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-12-13 11:36:35 +0100
committerJan Beulich <jbeulich@suse.com>2011-12-13 11:36:35 +0100
commitdd02b58523c43bf517bb6e9d69b4983068e6b89c (patch)
tree12e026933e44834dd148f5591783911750d1fe7d /Config.mk
parentfca703871175e50e18cd12f92eebd4b2b25b8c95 (diff)
downloadxen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.tar.gz
xen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.tar.bz2
xen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.zip
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 <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk4
1 files changed, 0 insertions, 4 deletions
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