From 9fa2fcc839c4e9bdb8ea72193cedc51d01bf07bc Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Thu, 4 Dec 2014 17:12:37 -0800 Subject: Srtp: Turn off unused-but-set-variable warning For build-system CFLAGS clean-up, turn off warning. Change-Id: Ia678d0668142d34b7c512d48347a71648f01ac9d --- Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.mk b/Android.mk index 569c802..0b49873 100644 --- a/Android.mk +++ b/Android.mk @@ -36,6 +36,10 @@ common_CFLAGS := \ -Wno-missing-field-initializers \ -Wno-unused-parameter +ifneq ($(LOCAL_CLANG),true) + common_CFLAGS += -Wno-unused-but-set-variable +endif + common_C_INCLUDES = $(LOCAL_PATH)/include # For the device -- cgit v1.2.3