mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Revert cJSON_AddItemReferenceToObjectCS to keep branch clean
This reverts commit 1208b35e03.
This commit is contained in:
@@ -411,9 +411,6 @@ static void cjson_functions_should_not_crash_with_null_pointers(void)
|
||||
cJSON_AddItemReferenceToObject(item, "item", NULL);
|
||||
cJSON_AddItemReferenceToObject(item, NULL, item);
|
||||
cJSON_AddItemReferenceToObject(NULL, "item", item);
|
||||
cJSON_AddItemReferenceToObjectCS(item, "item", NULL);
|
||||
cJSON_AddItemReferenceToObjectCS(item, NULL, item);
|
||||
cJSON_AddItemReferenceToObjectCS(NULL, "item", item);
|
||||
TEST_ASSERT_NULL(cJSON_DetachItemViaPointer(NULL, item));
|
||||
TEST_ASSERT_NULL(cJSON_DetachItemViaPointer(item, NULL));
|
||||
TEST_ASSERT_NULL(cJSON_DetachItemFromArray(NULL, 0));
|
||||
|
||||
Reference in New Issue
Block a user