summaryrefslogtreecommitdiffstats
path: root/tests/nft-parsing-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nft-parsing-test.c')
-rw-r--r--tests/nft-parsing-test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/nft-parsing-test.c b/tests/nft-parsing-test.c
index 8da3a4b..57dc6a5 100644
--- a/tests/nft-parsing-test.c
+++ b/tests/nft-parsing-test.c
@@ -167,9 +167,6 @@ static int test_json(const char *filename)
return -1;
}
- if (root == NULL)
- return -1;
-
json = json_dumps(root, JSON_INDENT(0));
if (json_object_get(root, "table") != NULL) {