mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00: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:
parent
aa76e5d0a4
commit
0b450b0ad1
@ -214,7 +214,6 @@ virNWFilterRuleDefToRuleInst(virNWFilterDef *def,
|
||||
goto cleanup;
|
||||
|
||||
VIR_APPEND_ELEMENT(inst->rules, inst->nrules, ruleinst);
|
||||
ruleinst = NULL;
|
||||
|
||||
ret = 0;
|
||||
cleanup:
|
||||
|
Loading…
x
Reference in New Issue
Block a user