Add -Wno-unused-but-set-variable to the Dalvik project.
This is to meet long term goal that we don't suppress any warnings in
the global makefile.
BUG: 10495043
Change-Id: I1eece42a9f2c43b614cfbeb1397c8071fb3db04a
(cherry picked from commit 0c4625a4e1464544625723b013b3febb1cc9359e)
diff --git a/vm/Dvm.mk b/vm/Dvm.mk
index 40d0fa5..9f8736b 100644
--- a/vm/Dvm.mk
+++ b/vm/Dvm.mk
@@ -26,7 +26,7 @@
#
LOCAL_CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
-LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter
+LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable
LOCAL_CFLAGS += -DARCH_VARIANT=\"$(dvm_arch_variant)\"
ifneq ($(strip $(LOCAL_CLANG)),true)