diff options
author | Andreas Gampe <agampe@google.com> | 2015-02-19 18:21:24 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-02-24 15:57:15 -0800 |
commit | 7c3952f423b8213083d60596a5f0bf4237ca3f7b (patch) | |
tree | 40cbc6d30e02ab5edd8598d0f811b62f5c6045ba /build/Android.common_build.mk | |
parent | 354d58ba776866ea7b1c71f0d0848d5aaa013ae3 (diff) | |
download | art-7c3952f423b8213083d60596a5f0bf4237ca3f7b.zip art-7c3952f423b8213083d60596a5f0bf4237ca3f7b.tar.gz art-7c3952f423b8213083d60596a5f0bf4237ca3f7b.tar.bz2 |
ART: Add -Wunused
Until the global CFLAGS are fixed, add Wunused. Fix declarations
in the optimizing compiler.
Change-Id: Ic4553f08e809dc54f3d82af57ac592622c98e000
Diffstat (limited to 'build/Android.common_build.mk')
-rw-r--r-- | build/Android.common_build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/Android.common_build.mk b/build/Android.common_build.mk index 3000cdf..36c9342 100644 --- a/build/Android.common_build.mk +++ b/build/Android.common_build.mk @@ -191,6 +191,7 @@ art_cflags := \ -Wunreachable-code \ -Wredundant-decls \ -Wshadow \ + -Wunused \ -fvisibility=protected \ $(art_default_gc_type_cflags) |