From 531a1fa84f548ce4d0e2971e496dc86a159f1b96 Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Mon, 5 Jul 2021 16:20:04 +0200 Subject: [PATCH] nwfilterxml2firewalltest.c: testCompareXMLToArgvFiles: `virHashNew` cannot return NULL Signed-off-by: Tim Wiederhake Reviewed-by: Peter Krempa --- tests/nwfilterxml2firewalltest.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/nwfilterxml2firewalltest.c b/tests/nwfilterxml2firewalltest.c index 75a70e9972..33ba8b9932 100644 --- a/tests/nwfilterxml2firewalltest.c +++ b/tests/nwfilterxml2firewalltest.c @@ -370,9 +370,6 @@ static int testCompareXMLToArgvFiles(const char *xml, virCommandSetDryRun(dryRunToken, &buf, true, true, NULL, NULL); - if (!vars) - goto cleanup; - if (testSetDefaultParameters(vars) < 0) goto cleanup;