[libvirt PATCH 01/10] testCompareXMLToArgvFiles: `virHashNew` cannot return NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
---
 tests/nwfilterxml2firewalltest.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/nwfilterxml2firewalltest.c b/tests/nwfilterxml2firewalltest.c
index 6709cc15fd..1cde8e258e 100644
--- a/tests/nwfilterxml2firewalltest.c
+++ b/tests/nwfilterxml2firewalltest.c
@@ -376,9 +376,6 @@ static int testCompareXMLToArgvFiles(const char *xml,
 
     virCommandSetDryRun(dryRunToken, &buf, true, true, NULL, NULL);
 
-    if (!vars)
-        goto cleanup;
-
     if (testSetDefaultParameters(vars) < 0)
         goto cleanup;
 
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux