reformatting: cJSONUtils_GeneratePatches

This commit is contained in:
Max Bruckner 2016-10-17 17:41:50 +07:00
parent 8879ed5dbc
commit ec9d1cfedb
1 changed files with 5 additions and 5 deletions

View File

@ -603,13 +603,13 @@ static void cJSONUtils_CompareToPatch(cJSON *patches, const char *path, cJSON *f
} }
} }
cJSON* cJSONUtils_GeneratePatches(cJSON *from,cJSON *to) cJSON* cJSONUtils_GeneratePatches(cJSON *from, cJSON *to)
{ {
cJSON *patches=cJSON_CreateArray(); cJSON *patches = cJSON_CreateArray();
cJSONUtils_CompareToPatch(patches,"",from,to); cJSONUtils_CompareToPatch(patches, "", from, to);
return patches;
}
return patches;
}
static cJSON *cJSONUtils_SortList(cJSON *list) static cJSON *cJSONUtils_SortList(cJSON *list)
{ {