summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Hawicz <erh+git@nimenees.com>2020-07-23 22:26:58 -0400
committerGitHub <noreply@github.com>2020-07-23 22:26:58 -0400
commit616b1050b295e40d398a3e0fc65678501c303cf0 (patch)
tree3809bb78bff36529555d313cbf2de34740034240
parent730e3d044f2ac2e44e38bf67ac31c19925428d15 (diff)
parent4a23d3413d48c53dce5d4c881b3fc50354a6d74c (diff)
downloadjson-c-616b1050b295e40d398a3e0fc65678501c303cf0.tar.gz
Merge pull request #648 from MarcT512/rbf
Fix "may be used uninitialized" Release build failure
-rw-r--r--json_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json_object.c b/json_object.c
index 2ee39ea..9198257 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;