bluetooth: fixes shadow variables

Massaging code to fix shadow variables found by -Wshadow.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2023-08-09 12:55:53 -07:00 committed by Carles Cufí
commit e3ecca5784
47 changed files with 729 additions and 765 deletions

View file

@ -113,11 +113,11 @@ static int bt_mesh_sar_cfg_cli_init(struct bt_mesh_model *model)
static void bt_mesh_sar_cfg_cli_reset(struct bt_mesh_model *model)
{
struct bt_mesh_sar_cfg_cli *cli;
struct bt_mesh_sar_cfg_cli *model_cli;
cli = model->user_data;
model_cli = model->user_data;
bt_mesh_msg_ack_ctx_clear(&cli->ack_ctx);
bt_mesh_msg_ack_ctx_clear(&model_cli->ack_ctx);
}
const struct bt_mesh_model_cb _bt_mesh_sar_cfg_cli_cb = {