From 98223bf932f1f7e484c0d9ac07680be79942975b Mon Sep 17 00:00:00 2001 From: Asias He Date: Mon, 18 Jul 2011 18:59:19 +0800 Subject: [PATCH] kvm tools: Add '-Wunused-result' to WARNINGS This makes GCC catch warn_unused_result explicitly. Signed-off-by: Asias He Signed-off-by: Pekka Enberg --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b5c5516..21d6189 100644 --- a/Makefile +++ b/Makefile @@ -150,6 +150,7 @@ WARNINGS += -Wstrict-prototypes WARNINGS += -Wundef WARNINGS += -Wvolatile-register-var WARNINGS += -Wwrite-strings +WARNINGS += -Wunused-result CFLAGS += $(WARNINGS)