From: Wanlong Gao Date: Sun, 13 Nov 2011 06:19:36 +0000 (+0800) Subject: kvm tools: Don't add the -Wunused-result flag X-Git-Tag: next-20111115~2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=19715b483fc16dd0baa39058633debb9411ec253;p=karo-tx-linux.git 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 --- 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)