Merge pull request #37 from DaveGamble/reformatting

Reformat cJSON_Utils.c and test.c
This commit is contained in:
Max Bruckner
2016-10-29 22:52:55 +07:00
committed by GitHub
5 changed files with 1018 additions and 442 deletions

View File

@@ -1722,7 +1722,7 @@ cJSON *cJSON_DetachItemFromArray(cJSON *array, int which)
/* item doesn't exist */
return 0;
}
if (c->prev)
if (c->prev)
{
/* not the first element */
c->prev->next = c->next;