Skip to content

Commit b10c100

Browse files
Damian-Nordicrlubos
authored andcommitted
net: openthread: rpc: fix uninitialized variable
This caused unit test failures on QEMU Cortex M3. Signed-off-by: Damian Krolik <[email protected]>
1 parent c80c0dc commit b10c100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/openthread/rpc/client/ot_rpc_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ otDeviceRole otThreadGetDeviceRole(otInstance *aInstance)
145145
otError otThreadSetLinkMode(otInstance *aInstance, otLinkModeConfig aConfig)
146146
{
147147
struct nrf_rpc_cbor_ctx ctx;
148-
uint8_t mode_mask;
148+
uint8_t mode_mask = 0;
149149

150150
ARG_UNUSED(aInstance);
151151

0 commit comments

Comments
 (0)