提交 c88b7966 编写于 作者: M Michal Privoznik

virDomainObjListAddLocked: s/false/NULL/ for @oldDef

It's a pointer after all. We should initialize it to NULL instead of
false.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 f863ac80
......@@ -2490,7 +2490,7 @@ virDomainObjListAddLocked(virDomainObjListPtr doms,
char uuidstr[VIR_UUID_STRING_BUFLEN];
if (oldDef)
*oldDef = false;
*oldDef = NULL;
virUUIDFormat(def->uuid, uuidstr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册