From 4feb8a370a8a0f5c27880ef680c928f35b47c151 Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Fri, 9 Jan 2026 10:58:36 +0800 Subject: [PATCH] fix(ble/bluedroid): Fixed bluedroid build warning if GATTC/S and SMP are disabled --- components/bt/host/bluedroid/stack/gatt/gatt_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bt/host/bluedroid/stack/gatt/gatt_main.c b/components/bt/host/bluedroid/stack/gatt/gatt_main.c index 6170d7d673b..30b2d468332 100644 --- a/components/bt/host/bluedroid/stack/gatt/gatt_main.c +++ b/components/bt/host/bluedroid/stack/gatt/gatt_main.c @@ -194,6 +194,7 @@ void gatt_free(void) fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); p_tcb->sr_cmd.multi_rsp_q = NULL; #endif /* #if (GATTS_INCLUDED == TRUE) */ + UNUSED(p_tcb); } list_free(gatt_cb.p_tcb_list); list_free(gatt_cb.p_clcb_list);