fix(bt): fix unused-but-set-variable warnings

This commit is contained in:
Alexey Lapshin
2026-07-13 12:01:15 +07:00
parent 683088e89f
commit 46ddc0f4b2
2 changed files with 4 additions and 1 deletions
@@ -2350,6 +2350,8 @@ UINT16 L2CA_FlushChannel (UINT16 lcid, UINT16 num_to_flush)
num_flushed1 = 0,
num_flushed2 = 0;
UNUSED(num_flushed1);
p_ccb = l2cu_find_ccb_by_cid(NULL, lcid);
if ( !p_ccb || ((p_lcb = p_ccb->p_lcb) == NULL) ) {