Merge branch 'fix/bt__unused-but-set-variable_warnings' into 'master'

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

See merge request espressif/esp-idf!50657
This commit is contained in:
Alexey Lapshin
2026-07-15 13:01:45 +04:00
2 changed files with 4 additions and 1 deletions
@@ -2358,6 +2358,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) ) {