mirror of
https://github.com/json-c/json-c.git
synced 2026-09-07 16:46:50 +08:00
Issue #928 - work around over-zealous uninitialized check in chromebrew gcc.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user