diff options
| author | Marc <34656315+MarcT512@users.noreply.github.com> | 2020-07-23 18:19:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 18:19:12 +0100 |
| commit | 4a23d3413d48c53dce5d4c881b3fc50354a6d74c (patch) | |
| tree | 3809bb78bff36529555d313cbf2de34740034240 | |
| parent | 730e3d044f2ac2e44e38bf67ac31c19925428d15 (diff) | |
| download | json-c-4a23d3413d48c53dce5d4c881b3fc50354a6d74c.tar.gz | |
Fix "may be used uninitialized" Release build failure
Fixes https://github.com/json-c/json-c/issues/647
| -rw-r--r-- | json_object.c | 2 |
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; |
