cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit 0c23e8dde01105d088f7043485f5cc740963240b
parent 1822521a143a3a183a41c8a6c567a29371bb50ee
Author: Max Bruckner <max@maxbruckner.de>
Date:   Fri, 28 Oct 2016 14:06:39 +0700

Merge pull request #40 from jfether/patch-1

Remove redundant test from cJSON_AddItemToArray
Diffstat:
McJSON.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cJSON.c b/cJSON.c @@ -1658,7 +1658,7 @@ void cJSON_AddItemToArray(cJSON *array, cJSON *item) else { /* append to the end */ - while (c && c->next) + while (c->next) { c = c->next; }