提交 b2763f18 编写于 作者: M Martin Kletzander

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: NMartin Kletzander <mkletzan@redhat.com>
上级 f08e26a1
...@@ -6789,7 +6789,7 @@ virDomainNetDefCoalesceParseXML(xmlNodePtr node, ...@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册