Commit bb24c83d authored by Brandon Allen's avatar Brandon Allen Committed by Alberto Escolar
Browse files

net: lib: lwm2m: lwm2m_rw_senml_cbor: only assign time on get_s64() success



Currently GCC complains that temp64 may be used uninitialized in this
 function. Adds a check to ensure time is valid before assignining
 and fixes GCC warning.

Signed-off-by: default avatarBrandon Allen <brandon.allen@exacttechnology.com>
parent b58b8964
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment