Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07106315 authored by Mike J. Chen's avatar Mike J. Chen
Browse files

Default send_ind_evt should be FALSE



Bug found when looking at compiler warning about p_mcb might
be used before being initialized.

Change-Id: I6f74a3c9bb46e757d2420cc871bfe78e51256c3b
Signed-off-by: default avatarMike J. Chen <mjchen@google.com>
parent e7377410
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1805,7 +1805,7 @@ static void bta_hl_mca_delete_mdl_ind(tBTA_HL_CB *p_cb, tBTA_HL_DATA *p_data)
    tMCA_EVT_HDR    *p_delete_ind = &p_data->mca_evt.mca_data.delete_ind;
    tBTA_HL_MCL_CB  *p_mcb;
    tBTA_HL_MDL_CB  *p_dcb;
    BOOLEAN         send_ind_evt = TRUE;
    BOOLEAN         send_ind_evt = FALSE;
    tBTA_HL_APP_CB  *p_acb;

    if (bta_hl_find_mcl_idx_using_handle(p_data->mca_evt.mcl_handle, &app_idx, &mcl_idx) )