提交 0c23e8dd 编写于 作者: M Max Bruckner 提交者: GitHub

Merge pull request #40 from jfether/patch-1

Remove redundant test from cJSON_AddItemToArray
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册