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:
Martin Kletzander 2017-04-22 18:34:30 +02:00
parent f08e26a19a
commit b2763f189c

View File

@ -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) {