fix(bt/bluedroid): Resolve warning: unused variable 'pp'

This commit is contained in:
Nebojša Cvetković 2024-08-14 14:35:20 +02:00 committed by BOT
parent 35eaff1d2a
commit a3eb74cdb7

View File

@ -2154,7 +2154,9 @@ static void btu_ble_ext_adv_report_evt(UINT8 *p, UINT16 evt_len)
{ {
tBTM_BLE_EXT_ADV_REPORT ext_adv_report = {0}; tBTM_BLE_EXT_ADV_REPORT ext_adv_report = {0};
UINT8 num_reports = {0}; UINT8 num_reports = {0};
#if (defined BLE_PRIVACY_SPT && BLE_PRIVACY_SPT == TRUE)
UINT8 *pp = p; UINT8 *pp = p;
#endif
//UINT8 legacy_event_type = 0; //UINT8 legacy_event_type = 0;
UINT16 evt_type = 0; UINT16 evt_type = 0;
uint8_t addr_type; uint8_t addr_type;