]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
nwfilterxml2firewalltest.c: testCompareXMLToArgvFiles: `virHashNew` cannot return...
authorTim Wiederhake <twiederh@redhat.com>
Mon, 5 Jul 2021 14:20:04 +0000 (16:20 +0200)
committerTim Wiederhake <twiederh@redhat.com>
Wed, 14 Jul 2021 13:37:07 +0000 (15:37 +0200)
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tests/nwfilterxml2firewalltest.c

index 75a70e997224a4f2d4e46284e80c01862dbf92c3..33ba8b9932f0cdedc372de0a82d034ebbe1f860c 100644 (file)
@@ -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;