aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/debug.c
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 /xen/arch/x86/debug.c
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 'xen/arch/x86/debug.c')
-rw-r--r--xen/arch/x86/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/debug.c b/xen/arch/x86/debug.c
index 8e3617a331..35f8d2e5bd 100644
--- a/xen/arch/x86/debug.c
+++ b/xen/arch/x86/debug.c
@@ -37,8 +37,8 @@
#define DBGP1(...) {(kdbdbg>1) ? kdbp(__VA_ARGS__):0;}
#define DBGP2(...) {(kdbdbg>2) ? kdbp(__VA_ARGS__):0;}
#else
-#define DBGP1(...) {0;}
-#define DBGP2(...) {0;}
+#define DBGP1(...) ((void)0)
+#define DBGP2(...) ((void)0)
#endif
/* Returns: mfn for the given (hvm guest) vaddr */