]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Don't add the -Wunused-result flag
authorWanlong Gao <wanlong.gao@gmail.com>
Sun, 13 Nov 2011 06:19:36 +0000 (14:19 +0800)
committerPekka Enberg <penberg@kernel.org>
Mon, 14 Nov 2011 16:26:33 +0000 (18:26 +0200)
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 <gaowanlong@cn.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile

index f4741f2c378fbc6b0a94714c3b7bb591a6fc7b7c..bb5f6b0f812707c67a16301e371e3f135f0adbe1 100644 (file)
@@ -176,7 +176,6 @@ WARNINGS += -Wstrict-prototypes
 WARNINGS += -Wundef
 WARNINGS += -Wvolatile-register-var
 WARNINGS += -Wwrite-strings
-WARNINGS += -Wunused-result
 
 CFLAGS += $(WARNINGS)