mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(bt/bluedroid): Resolve warning: unused variable 'pp'
C:/Espressif/frameworks/esp-idf-v5.3/components/bt/host/bluedroid/stack/btu/btu_hcif.c:2162:12: warning: unused variable 'pp' [-Wunused-variable] 2162 | UINT8 *pp = p;
This commit is contained in:
parent
d7ca8b94c8
commit
e23f4f3638
@ -2162,7 +2162,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;
|
||||||
|
Loading…
Reference in New Issue
Block a user