OSDN Git Service

gn-build: Remove all -Wno-unused-* flags from build files
authorArman Uguray <armansito@google.com>
Tue, 2 Jun 2015 21:56:45 +0000 (14:56 -0700)
committerArman Uguray <armansito@google.com>
Fri, 12 Jun 2015 19:53:37 +0000 (12:53 -0700)
commitcab5fc179730ce6910989307680b275195876c4d
treef02fbfc26af2647a4c65647432c3897e871c1e08
parent1ab6fd76ae670029fa3811c93878329dc793cde3
gn-build: Remove all -Wno-unused-* flags from build files

This CL removes the -Wno-unused-variable, -Wno-unused-value, and
-Wno-unused-function flags from all GN build and Android.mk files
(except in test/ & tools/, which are not built using GN yet). Compile
warnings, caused by the newly enabled flags, have been fixed throughout
the code base.

Bug: 21570302

Change-Id: I1c128b62256faa17668124798341005bcd0f7315
32 files changed:
Android.mk
audio_a2dp_hw/BUILD.gn
audio_a2dp_hw/audio_a2dp_hw.c
bta/BUILD.gn
bta/av/bta_av_main.c
bta/dm/bta_dm_act.c
bta/dm/bta_dm_pm.c
bta/hl/bta_hl_sdp.c
bta/hl/bta_hl_utils.c
bta/jv/bta_jv_act.c
bta/sdp/bta_sdp_act.c
btif/BUILD.gn
btif/co/bta_hh_co.c
btif/src/btif_hl.c
btif/src/btif_sdp.c
btif/src/btif_sdp_server.c
btif/src/btif_sock_l2cap.c
btif/src/btif_storage.c
hci/BUILD.gn
main/BUILD.gn
stack/BUILD.gn
stack/a2dp/a2d_sbc.c
stack/btm/btm_ble.c
stack/btm/btm_ble_gap.c
stack/btm/btm_dev.c
stack/btm/btm_devctl.c
stack/btm/btm_sec.c
stack/gap/gap_conn.c
stack/gatt/gatt_attr.c
stack/hid/hidh_conn.c
stack/include/l2c_api.h
stack/l2cap/l2c_ble.c