Skip to content
Commit 9729651b authored by Herman Berget's avatar Herman Berget Committed by Carles Cufí
Browse files

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: default avatarHerman Berget <herman.berget@nordicsemi.no>
parent d3cfbf1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment