From 3d97f322792b396a2a913c81c0732f21aa0f3357 Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Wed, 19 Jul 2023 16:54:15 +0400 Subject: [PATCH] nimble/host: fix gcc 13 warnings --- nimble/host/src/ble_att_svr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nimble/host/src/ble_att_svr.c b/nimble/host/src/ble_att_svr.c index 3db52f75a..31ce38a02 100644 --- a/nimble/host/src/ble_att_svr.c +++ b/nimble/host/src/ble_att_svr.c @@ -1732,6 +1732,9 @@ ble_att_svr_build_read_group_type_rsp(uint16_t conn_handle, *att_err = 0; *err_handle = start_handle; + start_group_handle = 0; + + entry = NULL; mtu = ble_att_mtu(conn_handle);