This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new 65f32e5f8 nimble/host: fix gcc 13 warnings
65f32e5f8 is described below
commit 65f32e5f87b0513a92824c6c05de80f995a79464
Author: Alexey Lapshin <[email protected]>
AuthorDate: Tue Jul 25 19:17:22 2023 +0400
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 488613c03..9390708f9 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 */