From 19715b483fc16dd0baa39058633debb9411ec253 Mon Sep 17 00:00:00 2001 From: Wanlong Gao Date: Sun, 13 Nov 2011 14:19:36 +0800 Subject: [PATCH] kvm tools: Don't add the -Wunused-result flag The -Wunused-result is the default option of gcc, so no need to add it to the FLAGS. And the previous version of gcc can't support this flag, it may cause a compile error. Signed-off-by: Wanlong Gao Signed-off-by: Pekka Enberg --- tools/kvm/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index f4741f2c378f..bb5f6b0f8127 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -176,7 +176,6 @@ WARNINGS += -Wstrict-prototypes WARNINGS += -Wundef WARNINGS += -Wvolatile-register-var WARNINGS += -Wwrite-strings -WARNINGS += -Wunused-result CFLAGS += $(WARNINGS) -- 2.39.5