From: Tim Wiederhake Date: Mon, 5 Jul 2021 14:20:04 +0000 (+0200) Subject: nwfilterxml2firewalltest.c: testCompareXMLToArgvFiles: `virHashNew` cannot return... X-Git-Tag: v7.6.0-rc1~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=531a1fa84f548ce4d0e2971e496dc86a159f1b96;p=thirdparty%2Flibvirt.git nwfilterxml2firewalltest.c: testCompareXMLToArgvFiles: `virHashNew` cannot return NULL Signed-off-by: Tim Wiederhake Reviewed-by: Peter Krempa --- 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;