zephyr/subsys/ipc
Herman Berget 9729651bb5 ipc_service: backends: icbmsg: Silence maybe-uninitialized warning
If compiling with optimizations (-O2/-Ofast) gcc emits a
maybe-uninitialized warning for `size`.

As far as I can tell, `size` will always be initialized in the cases
where it is used and only left uninitialized in error cases.

Reproduced on main with the multi_endpoint sample on
nrf5340dk/nrf5340/cpuapp.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
2024-04-22 06:48:54 -07:00
..
ipc_service ipc_service: backends: icbmsg: Silence maybe-uninitialized warning 2024-04-22 06:48:54 -07:00
rpmsg_service ipc: rpmsg_service: Support IPM without data transfer 2024-02-26 11:39:29 +00:00
CMakeLists.txt ipc: ipc_service: Rework multi-instance backend. 2021-10-11 20:58:09 -04:00
Kconfig ipc: ipc_service: Rework multi-instance backend. 2021-10-11 20:58:09 -04:00