提交 ecb0221a 编写于 作者: D Daniel Veillard

Remove a compilation warning on uninitialized var

上级 91f9157e
......@@ -2029,7 +2029,7 @@ static int testDomainGetMaxVcpus(virDomainPtr domain)
static int testSetVcpus(virDomainPtr domain,
unsigned int nrCpus) {
testConnPtr privconn = domain->conn->privateData;
virDomainObjPtr privdom;
virDomainObjPtr privdom = NULL;
int ret = -1, maxvcpus;
/* Do this first before locking */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册