Skip to content

Commit 616b105

Browse files
authored
Merge pull request json-c#648 from MarcT512/rbf
Fix "may be used uninitialized" Release build failure
2 parents 730e3d0 + 4a23d34 commit 616b105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json_object.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ struct json_object *json_object_new_int(int32_t i)
735735

736736
int32_t json_object_get_int(const struct json_object *jso)
737737
{
738-
int64_t cint64;
738+
int64_t cint64=0;
739739
double cdouble;
740740
enum json_type o_type;
741741

0 commit comments

Comments
 (0)