From e1812074fa15be65637fba93b067d4b4e001e6c2 Mon Sep 17 00:00:00 2001 From: Eric Hawicz Date: Sun, 21 Jun 2026 19:25:37 -0400 Subject: [PATCH] Issue #928 - work around over-zealous uninitialized check in chromebrew gcc. --- json_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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