diff options
Diffstat (limited to 'bta/av/bta_av_main.c')
-rw-r--r-- | bta/av/bta_av_main.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bta/av/bta_av_main.c b/bta/av/bta_av_main.c index 749756d61..25c40a5ef 100644 --- a/bta/av/bta_av_main.c +++ b/bta/av/bta_av_main.c @@ -392,6 +392,7 @@ void bta_av_conn_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p tBTA_AV_STR_MSG *p_msg; UINT16 evt = 0; tBTA_AV_SCB *p_scb = NULL; + UNUSED(handle); #if( defined BTA_AR_INCLUDED ) && (BTA_AR_INCLUDED == TRUE) if (event == BTA_AR_AVDT_CONN_EVT || @@ -450,6 +451,9 @@ void bta_av_conn_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p static void bta_av_a2dp_report_cback(UINT8 handle, AVDT_REPORT_TYPE type, tAVDT_REPORT_DATA *p_data) { + UNUSED(handle); + UNUSED(type); + UNUSED(p_data); /* Do not need to handle report data for now. * This empty function is here for conformance reasons. */ } @@ -715,9 +719,9 @@ static void bta_av_ci_data(tBTA_AV_DATA *p_data) ** *******************************************************************************/ #if (AVDT_REPORTING == TRUE) - static void bta_av_rpc_conn(tBTA_AV_DATA *p_data) { + UNUSED(p_data); } #endif @@ -832,6 +836,7 @@ static void bta_av_sys_rs_cback (tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app tBTA_AV_ROLE_RES *p_buf; UINT8 cur_role; UINT8 peer_idx = 0; + UNUSED(status); APPL_TRACE_DEBUG1("bta_av_sys_rs_cback: %d", bta_av_cb.rs_idx); for(i=0; i<BTA_AV_NUM_STRS; i++) @@ -907,6 +912,8 @@ static void bta_av_sco_chg_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 tBTA_AV_SCB *p_scb; int i; tBTA_AV_API_STOP stop; + UNUSED(app_id); + UNUSED(peer_addr); APPL_TRACE_DEBUG2("bta_av_sco_chg_cback:%d status:%d", id, status); if(id) @@ -1049,6 +1056,7 @@ UINT16 bta_av_chk_mtu(tBTA_AV_SCB *p_scb, UINT16 mtu) tBTA_AV_SCB *p_scbi; int i; UINT8 mask; + UNUSED(mtu); /* TODO_MV mess with the mtu according to the number of EDR/non-EDR headsets */ if(p_scb->chnl == BTA_AV_CHNL_AUDIO) |