zephyr/subsys/bluetooth/mesh
Alberto Escolar Piedras e3da5c3d39 Bluetooth: Mesh: Fix build warning with gcc 13
gcc 13 thinks  max_adv_duration may be used unitialized
and warns accordingly (see below)
It seems the reason is the goto, which confuses it.
In any case, pacifying this warning is trivial,
so let's just do so.

The warning:
```
In function ‘gatt_proxy_advertise’,
inlined from ‘bt_mesh_proxy_adv_start’ at
subsys/bluetooth/mesh/proxy_srv.c:1214:9:
subsys/bluetooth/mesh/proxy_srv.c:842:44: error: ‘max_adv_duration’ may
be used uninitialized [-Werror=maybe-uninitialized]
subsys/bluetooth/mesh/proxy_srv.c: In function ‘bt_mesh_proxy_adv_start’
zephyr/subsys/bluetooth/mesh/proxy_srv.c:786:17: note:
‘max_adv_duration’ was declared here
  786 |         int32_t max_adv_duration;
      |                 ^~~~~~~~~~~~~~~~
```

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-08-13 18:18:00 -04:00
..
shell bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
access.c everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
access.h Bluetooth: Mesh: analyze multicast model rx status 2024-03-25 18:39:19 -04:00
adv_ext.c Bluetooth: Mesh: Allow to suspend mesh from bt_mesh_send_cb callbacks 2024-02-26 14:34:58 +01:00
adv_legacy.c Bluetooth: Mesh: Allow to suspend mesh from bt_mesh_send_cb callbacks 2024-02-26 14:34:58 +01:00
adv.c bluetooth: correct bt_le_scan_param scan type 2024-06-28 11:34:36 +02:00
adv.h Bluetooth: Mesh: Allow to suspend mesh from bt_mesh_send_cb callbacks 2024-02-26 14:34:58 +01:00
app_keys.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
app_keys.h
beacon.c Bluetooth: Mesh: Add artificial beacon delay 2024-01-23 10:02:00 +01:00
beacon.h
blob_cli.c bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
blob_io_flash.c Bluetooth: Mesh: Switch erase to flash_area_flatten 2024-06-04 08:00:46 +02:00
blob_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
blob.h Bluetooth: Mesh: Update spec ref 1.0.1->1.1 2023-10-25 14:50:14 +02:00
cdb.c Bluetooth: Mesh: Prevent duplicate cdb appkeys 2024-03-06 10:21:27 +00:00
cdb.h
cfg_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
cfg_srv.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
cfg.c everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
cfg.h
CMakeLists.txt Bluetooth: Mesh: align mesh and host psa usage 2024-06-19 13:24:08 -04:00
crypto_psa.c Bluetooth: Mesh: no more tinycrypt in ble mesh tfm image 2023-11-08 15:09:50 +00:00
crypto_tc.c
crypto.c Bluetooth: Mesh: fix proxy solicitation 2023-10-12 18:07:50 +03:00
crypto.h
delayable_msg.c Bluetooth: Mesh: Fix dereferencing before null pointer check 2024-01-12 11:28:59 -06:00
delayable_msg.h Bluetooth: Mesh: access tx msg randomizer 2023-12-11 09:50:18 +01:00
dfd_srv_internal.h
dfd_srv.c Bluetooth: Mesh: Disable randomization in DFD model for canceling update 2024-02-09 16:29:12 -06:00
dfd.h
dfu_cli.c Bluetooth: Mesh: use bt_rand instead of sys_rand 2024-04-29 11:00:00 +02:00
dfu_metadata.c
dfu_slot.c Bluetooth: Mesh: Ignore return value of settings_delete 2023-11-20 09:23:56 +01:00
dfu_slot.h
dfu_srv.c Bluetooth: Mesh: fix dfu srv applying phase 2024-04-26 16:11:20 +02:00
dfu.h
foundation.h Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
friend.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
friend.h
gatt_cli.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
gatt_cli.h
health_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
health_srv.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
heartbeat.c
heartbeat.h
Kconfig kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
keys.h
large_comp_data_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
large_comp_data_srv.c Bluetooth: Mesh: add extension config server by lcd server 2024-06-24 09:44:58 +02:00
lpn.c bluetooth: mesh: fix lpn receive window timing error 2024-06-04 07:55:59 +02:00
lpn.h
main.c Bluetooth: Mesh: Reset solicitation settings before calling reset cb 2024-02-07 15:25:18 +00:00
mesh.h
msg.c Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
msg.h Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
net.c Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
net.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
od_priv_proxy_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
od_priv_proxy_srv.c Bluetooth: Mesh: add extension config server by private beacon server 2024-06-24 09:44:58 +02:00
od_priv_proxy.h
op_agg_cli.c Bluetooth: Mesh: Make element as rodata 2023-11-20 09:22:55 +01:00
op_agg_srv.c bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
op_agg.c Bluetooth: Mesh: Op agg mdl coex 2023-10-20 15:16:33 +02:00
op_agg.h Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
pb_adv.c Bluetooth: Mesh: fix start rx transaction before tx is ended 2024-04-24 15:01:43 -04:00
pb_gatt_cli.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
pb_gatt_cli.h
pb_gatt_srv.c Bluetooth: Mesh: Fix PB GATT adv name 2024-06-04 05:18:28 -07:00
pb_gatt_srv.h
pb_gatt.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
pb_gatt.h
priv_beacon_cli.c Bluetooth: Mesh: Fix async behavior of Private Beacon Client API 2023-11-20 09:23:56 +01:00
priv_beacon_srv.c Bluetooth: Mesh: add extension config server by private beacon server 2024-06-24 09:44:58 +02:00
priv_beacon.h
prov_bearer.h
prov.c Bluetooth: Mesh: Update spec ref 1.0.1->1.1 2023-10-25 14:50:14 +02:00
prov.h everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
provisionee.c bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
provisioner.c bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
provisioner.h
proxy_cli.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_cli.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_msg.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_msg.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_srv.c Bluetooth: Mesh: Fix build warning with gcc 13 2024-08-13 18:18:00 -04:00
proxy.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
rpl.c Bluetooth: Mesh: store rpl only if incoming data is accepted 2024-03-25 18:39:19 -04:00
rpl.h
rpr_cli.c Bluetooth: Remove legacy debug symbols 2024-05-07 09:49:27 +02:00
rpr_srv.c Bluetooth: Remove legacy debug symbols 2024-05-07 09:49:27 +02:00
rpr.h
sar_cfg_cli.c Bluetooth: Mesh: Fix dev key selection in SAR Cfg Client 2024-03-04 14:03:09 +01:00
sar_cfg_internal.h bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
sar_cfg_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
sar_cfg.c
settings.c Bluetooth: Mesh: Allow custom RPL use mesh settings work 2023-12-08 10:25:36 +00:00
settings.h
sol_pdu_rpl_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
sol_pdu_rpl_srv.c Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
solicitation.c Bluetooth: Mesh: fix SRPL always accepting sol pdus with sseq 0 2024-01-31 10:34:06 -06:00
solicitation.h
statistic.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
statistic.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
subnet.c Bluetooth: Mesh: rename deprected key refresh field 2024-06-24 12:42:03 -04:00
subnet.h Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
test.c
test.h
transport.c Bluetooth: Mesh: store rpl only if incoming data is accepted 2024-03-25 18:39:19 -04:00
transport.h
va.c Bluetooth: Mesh: Return immediately if labels not supported 2023-11-28 14:48:29 +01:00
va.h bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00