mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
Remove pointless check for !ret in virDomainNetDefCoalesceParseXML
It was left there after removing a macro it was part of in first version or so. Now it will always be NULL. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
f08e26a19a
commit
b2763f189c
@ -6789,7 +6789,7 @@ virDomainNetDefCoalesceParseXML(xmlNodePtr node,
|
|||||||
if (!str)
|
if (!str)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (!ret && VIR_ALLOC(ret) < 0)
|
if (VIR_ALLOC(ret) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (virStrToLong_ullp(str, NULL, 10, &tmp) < 0) {
|
if (virStrToLong_ullp(str, NULL, 10, &tmp) < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user