mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue