From e826877117dc9f94759ef646b77a3958ab51c125 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Thu, 4 Dec 2014 18:01:26 -0800 Subject: [PATCH] Toolbox: Disable unused-XXX warnings For build-system CFLAGS clean-up, disable warnings locally. Should be reverted when the code is fixed. Bug: 18632512 Change-Id: Ia373784ec36d37545a7e50db1df9f8cc37d7bf30 --- toolbox/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolbox/Android.mk b/toolbox/Android.mk index 6fdf610e3..7d396e4cc 100644 --- a/toolbox/Android.mk +++ b/toolbox/Android.mk @@ -7,6 +7,10 @@ common_cflags := \ -I$(LOCAL_PATH)/upstream-netbsd/include/ \ -include bsd-compatibility.h \ +# Temporary, remove after cleanup. b/18632512 +common_cflags += -Wno-unused-variable \ + -Wno-unused-but-set-variable + include $(CLEAR_VARS) LOCAL_SRC_FILES := upstream-netbsd/bin/cat/cat.c