mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Update cJSON_Utils for structural changes
Signed-off-by: Ajay Bhargav <contact@rickeyworld.info>
This commit is contained in:
parent
7d89f84712
commit
3ff8920fba
@ -840,7 +840,7 @@ static int apply_patch(cJSON *object, const cJSON *patch, const cJSON_bool case_
|
|||||||
{
|
{
|
||||||
if (opcode == REMOVE)
|
if (opcode == REMOVE)
|
||||||
{
|
{
|
||||||
static const cJSON invalid = { NULL, NULL, NULL, cJSON_Invalid, NULL, 0, 0, NULL};
|
static const cJSON invalid = { NULL, NULL, NULL, cJSON_Invalid, NULL, 0, 0, 0, NULL};
|
||||||
|
|
||||||
overwrite_item(object, invalid);
|
overwrite_item(object, invalid);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user