Skip to content

Commit

Permalink
ubjson: initialize variable
Browse files Browse the repository at this point in the history
To get rid of a compiler warning.
  • Loading branch information
OlegHahm committed Oct 1, 2015
1 parent 9b05f4e commit e628fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/ubjson/ubjson-read.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e628fed

Please sign in to comment.