diff options
author | Andreas Gampe <agampe@google.com> | 2014-12-04 18:01:26 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-12-04 18:01:26 -0800 |
commit | e826877117dc9f94759ef646b77a3958ab51c125 (patch) | |
tree | e513e0f9f1e295630a7cb5bb7779052de7efaff4 | |
parent | 6855af4135c9cd29a42f7c22ca7c394d902faea5 (diff) | |
download | system_core-e826877117dc9f94759ef646b77a3958ab51c125.zip system_core-e826877117dc9f94759ef646b77a3958ab51c125.tar.gz system_core-e826877117dc9f94759ef646b77a3958ab51c125.tar.bz2 |
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
-rw-r--r-- | toolbox/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk index 6fdf610..7d396e4 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 |