mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Remove a compilation warning on uninitialized var
This commit is contained in:
parent
91f9157e5b
commit
ecb0221a5f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user