OSDN Git Service

Cleanups needed to make clang happy
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Wed, 12 Nov 2014 20:53:08 +0000 (21:53 +0100)
committerChih-Hung Hsieh <chh@google.com>
Fri, 5 Dec 2014 22:53:48 +0000 (14:53 -0800)
commit104e3f238f500cacdb8afaccdc672dfc34eae7ee
treefac3aff5f06f77b0ac2eec66e2e9534eaf8fb85c
parent51dcba7a9a9860eb1f6a44ae268cbf24e3411694
Cleanups needed to make clang happy

This patch removes a slew of unused variables and some unused functions,
fixes some incomplete initializations of structs and an sprintf
parameter mismatching the format string.

Change-Id: I35f22fdccc8350f885cd357d3685b869224fa433
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
62 files changed:
Android.mk
bta/av/bta_av_aact.c
bta/av/bta_av_api.c
bta/dm/bta_dm_act.c
bta/dm/bta_dm_pm.c
bta/gatt/bta_gattc_utils.c
bta/gatt/bta_gatts_act.c
bta/hf_client/bta_hf_client_act.c
bta/hf_client/bta_hf_client_api.c
bta/hf_client/bta_hf_client_rfc.c
bta/hf_client/bta_hf_client_sdp.c
bta/hh/bta_hh_le.c
bta/hl/bta_hl_utils.c
bta/include/bta_api.h
bta/jv/bta_jv_act.c
btif/co/bta_av_co.c
btif/co/bta_fs_co.c
btif/co/bta_pan_co.c
btif/src/btif_config.c
btif/src/btif_core.c
btif/src/btif_dm.c
btif/src/btif_gatt_client.c
btif/src/btif_gatt_multi_adv_util.c
btif/src/btif_gatt_util.c
btif/src/btif_hf.c
btif/src/btif_hf_client.c
btif/src/btif_hh.c
btif/src/btif_hl.c
btif/src/btif_media_task.c
btif/src/btif_rc.c
btif/src/btif_sock_rfc.c
btif/src/btif_sock_thread.c
btif/src/btif_storage.c
gki/common/gki_buffer.c
gki/common/gki_time.c
gki/ulinux/gki_ulinux.c
main/bte_main.c
osi/src/fixed_queue.c
osi/src/list.c
stack/avrc/avrc_pars_ct.c
stack/btm/btm_acl.c
stack/btm/btm_ble.c
stack/btm/btm_ble_batchscan.c
stack/btm/btm_ble_gap.c
stack/btm/btm_ble_multi_adv.c
stack/btm/btm_devctl.c
stack/btm/btm_inq.c
stack/btm/btm_sec.c
stack/btu/btu_task.c
stack/gap/gap_conn.c
stack/gatt/gatt_attr.c
stack/gatt/gatt_sr.c
stack/hid/hidh_conn.c
stack/l2cap/l2c_api.c
stack/l2cap/l2c_main.c
stack/pan/pan_utils.c
stack/rfcomm/port_api.c
stack/sdp/sdp_api.c
stack/sdp/sdp_discovery.c
stack/smp/smp_keys.c
udrv/ulinux/uipc.c
vnd/ble/vendor_ble.c