mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-13 06:34:42 -05:00
virNWFilterRuleDefToRuleInst: Remove pointless assignment
'ruleinst' is NULLed by VIR_APPEND_ELEMENT Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -214,7 +214,6 @@ virNWFilterRuleDefToRuleInst(virNWFilterDef *def,
|
||||
goto cleanup;
|
||||
|
||||
VIR_APPEND_ELEMENT(inst->rules, inst->nrules, ruleinst);
|
||||
ruleinst = NULL;
|
||||
|
||||
ret = 0;
|
||||
cleanup:
|
||||
|
||||
Reference in New Issue
Block a user