Skip to content
Commit 5cff0807 authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Benjamin Cabé
Browse files

samples: bluetooth: cap_acceptor: Fix shadowed variable



Avoid redeclaring 'err' inside a nested block, which shadowed the outer
definition.

This cleanup prevents confusion and potential logical bugs.

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent 95d6058c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment