1
0
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:
Oleg Hahm 2015-10-01 18:10:08 +02:00
parent 9b05f4e5c9
commit e628fede2a

View File

@ -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;