Skip to content

Commit 4a23d34

Browse files
authored
Fix "may be used uninitialized" Release build failure
Fixes json-c#647
1 parent 730e3d0 commit 4a23d34

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)