mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 17:13:50 +01:00
ubjson: initialize variable
To get rid of a compiler warning.
This commit is contained in:
parent
9b05f4e5c9
commit
e628fede2a
@ -131,7 +131,7 @@ static ubjson_read_callback_result_t _ubjson_read_length(ubjson_cookie_t *restri
|
||||
return result;
|
||||
}
|
||||
|
||||
int64_t len64;
|
||||
int64_t len64 = -1;
|
||||
ssize_t read;
|
||||
if (type == UBJSON_TYPE_INT32) {
|
||||
int32_t len32;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user