Remove a compilation warning on uninitialized var

This commit is contained in:
Daniel Veillard 2009-11-16 17:31:35 +01:00
parent 91f9157e5b
commit ecb0221a5f

View File

@ -2029,7 +2029,7 @@ static int testDomainGetMaxVcpus(virDomainPtr domain)
static int testSetVcpus(virDomainPtr domain, static int testSetVcpus(virDomainPtr domain,
unsigned int nrCpus) { unsigned int nrCpus) {
testConnPtr privconn = domain->conn->privateData; testConnPtr privconn = domain->conn->privateData;
virDomainObjPtr privdom; virDomainObjPtr privdom = NULL;
int ret = -1, maxvcpus; int ret = -1, maxvcpus;
/* Do this first before locking */ /* Do this first before locking */