From 65f32e5f87b0513a92824c6c05de80f995a79464 Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Tue, 25 Jul 2023 19:17:22 +0400 Subject: [PATCH] nimble/host: fix gcc 13 warnings --- nimble/host/src/ble_gap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c index 488613c03c..9390708f9b 100644 --- a/nimble/host/src/ble_gap.c +++ b/nimble/host/src/ble_gap.c @@ -6461,6 +6461,9 @@ ble_gap_preempt_done(void) void *arg; } slaves[BLE_ADV_INSTANCES]; + master_cb = NULL; + master_arg = NULL; + disc_preempted = 0; /* Protects slaves from accessing by multiple threads */