Commit-ID: ef7ca6d4037b66b3903ef670e79162560b70e546 Gitweb: http://git.kernel.org/tip/ef7ca6d4037b66b3903ef670e79162560b70e546 Author: Asias He <asias.hejun@xxxxxxxxx> AuthorDate: Mon, 18 Jul 2011 18:59:19 +0800 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Mon, 18 Jul 2011 14:21:19 +0300 kvm tools: Add '-Wunused-result' to WARNINGS This makes GCC catch warn_unused_result explicitly. Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index b5c5516..21d6189 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -150,6 +150,7 @@ WARNINGS += -Wstrict-prototypes WARNINGS += -Wundef WARNINGS += -Wvolatile-register-var WARNINGS += -Wwrite-strings +WARNINGS += -Wunused-result CFLAGS += $(WARNINGS) -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |