mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-16 22:19:54 +00:00
nimble/host: fix gcc 13 warnings
This commit is contained in:
committed by
Szymon Janc
parent
cc556e97f4
commit
b521e22267
@@ -1725,6 +1725,9 @@ ble_att_svr_build_read_group_type_rsp(uint16_t conn_handle,
|
||||
|
||||
/* Silence warnings. */
|
||||
end_group_handle = 0;
|
||||
start_group_handle = 0;
|
||||
|
||||
entry = NULL;
|
||||
|
||||
*att_err = 0;
|
||||
*err_handle = start_handle;
|
||||
@@ -1745,7 +1748,6 @@ ble_att_svr_build_read_group_type_rsp(uint16_t conn_handle,
|
||||
goto done;
|
||||
}
|
||||
|
||||
start_group_handle = 0;
|
||||
rsp->bagp_length = 0;
|
||||
STAILQ_FOREACH(entry, &ble_att_svr_list, ha_next) {
|
||||
if (entry->ha_handle_id < start_handle) {
|
||||
|
||||
Reference in New Issue
Block a user