• J
    Remove redundant test from cJSON_AddItemToArray · 9f00ff9a
    Jonathan Fether 提交于
    The test for whether "c" is null is redundant.  Since this is the else case of "(!c)", and the only way "c" is changed is by the instruction assigning it "c->next" on the condition here, simply verifying that "c->next" isn't null is sufficient.
    9f00ff9a
cJSON.c 47.4 KB