From 4a23d3413d48c53dce5d4c881b3fc50354a6d74c Mon Sep 17 00:00:00 2001 From: Marc <34656315+MarcT512@users.noreply.github.com> Date: Thu, 23 Jul 2020 18:19:12 +0100 Subject: [PATCH] Fix "may be used uninitialized" Release build failure Fixes https://github.com/json-c/json-c/issues/647 --- json_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_object.c b/json_object.c index 2ee39ea5..9198257c 100644 --- a/json_object.c +++ b/json_object.c @@ -735,7 +735,7 @@ struct json_object *json_object_new_int(int32_t i) int32_t json_object_get_int(const struct json_object *jso) { - int64_t cint64; + int64_t cint64=0; double cdouble; enum json_type o_type; -- 2.39.5