From 207bb05e8cbff3c7574939f9789e926432b3cc7e Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Fri, 30 Sep 2016 10:43:21 +0700 Subject: [PATCH] reformatting: cJSON_DeleteItemFromObject --- cJSON.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cJSON.c b/cJSON.c index 14f5e57..ef2e9da 100644 --- a/cJSON.c +++ b/cJSON.c @@ -1763,7 +1763,10 @@ cJSON *cJSON_DetachItemFromObject(cJSON *object, const char *string) return 0; } -void cJSON_DeleteItemFromObject(cJSON *object,const char *string) {cJSON_Delete(cJSON_DetachItemFromObject(object,string));} +void cJSON_DeleteItemFromObject(cJSON *object, const char *string) +{ + cJSON_Delete(cJSON_DetachItemFromObject(object, string)); +} /* Replace array/object items with new ones. */ void cJSON_InsertItemInArray(cJSON *array,int which,cJSON *newitem) {cJSON *c=array->child;while (c && which>0) c=c->next,which--;if (!c) {cJSON_AddItemToArray(array,newitem);return;}