From: Eric Hawicz Date: Sun, 21 Jun 2026 23:25:37 +0000 (-0400) Subject: Issue #928 - work around over-zealous uninitialized check in chromebrew gcc. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1812074fa15be65637fba93b067d4b4e001e6c2;p=thirdparty%2Fjson-c.git Issue #928 - work around over-zealous uninitialized check in chromebrew gcc. --- diff --git a/json_object.c b/json_object.c index db79d6e..244775a 100644 --- a/json_object.c +++ b/json_object.c @@ -369,7 +369,7 @@ int json_object_put(struct json_object *jso) while (slots_left > 0) { size_t cur_slot = slots_left - 1; - json_object *child; + json_object *child = NULL; // First, clear the slot in the current jso object // The slot itself will be freed when jso is freed, or