summaryrefslogtreecommitdiff
path: root/json-glib/json-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-array.c')
-rw-r--r--json-glib/json-array.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/json-glib/json-array.c b/json-glib/json-array.c
index f9d641e..3d5e47f 100644
--- a/json-glib/json-array.c
+++ b/json-glib/json-array.c
@@ -609,7 +609,6 @@ json_array_add_array_element (JsonArray *array,
JsonNode *node;
g_return_if_fail (array != NULL);
- g_return_if_fail (value != NULL);
if (value != NULL)
{
@@ -641,7 +640,6 @@ json_array_add_object_element (JsonArray *array,
JsonNode *node;
g_return_if_fail (array != NULL);
- g_return_if_fail (value != NULL);
if (value != NULL)
{