[PATCH 14/23] virNWFilterRuleDefToRuleInst: Remove pointless assignment

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

 



'ruleinst' is NULLed by VIR_APPEND_ELEMENT

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 tests/nwfilterxml2firewalltest.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/nwfilterxml2firewalltest.c b/tests/nwfilterxml2firewalltest.c
index 33648a5077..7fefd3ce75 100644
--- a/tests/nwfilterxml2firewalltest.c
+++ b/tests/nwfilterxml2firewalltest.c
@@ -214,7 +214,6 @@ virNWFilterRuleDefToRuleInst(virNWFilterDef *def,
         goto cleanup;

     VIR_APPEND_ELEMENT(inst->rules, inst->nrules, ruleinst);
-    ruleinst = NULL;

     ret = 0;
  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