commit | 9729651bb5f8cab445332e99cf548b75f67950e2 | [log] [tgz] |
---|---|---|
author | Herman Berget <herman.berget@nordicsemi.no> | Thu Apr 18 14:30:02 2024 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Apr 22 06:48:54 2024 -0700 |
tree | d2bc0aef4d18dc1c188dda9622a7638a682efb24 | |
parent | d3cfbf1ae1d0a82bad0b8b31290902bcef86aeb4 [diff] |
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>