mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +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)
|
||||
goto cleanup;
|
||||
|
||||
if (!ret && VIR_ALLOC(ret) < 0)
|
||||
if (VIR_ALLOC(ret) < 0)
|
||||
goto cleanup;
|
||||
|
||||
if (virStrToLong_ullp(str, NULL, 10, &tmp) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user