diff options
author | 2009-11-16 17:31:35 +0100 | |
---|---|---|
committer | 2009-11-16 17:35:06 +0100 | |
commit | ecb0221a5fbbbdcd4629d89b768a33aac7d358f6 (patch) | |
tree | 0618b369afa1faa272099abee5b7a8a243b63157 | |
parent | only remove masquerade roles for VIR_NETWORK_FORWARD_NAT (diff) | |
download | libvirt-ecb0221a5fbbbdcd4629d89b768a33aac7d358f6.tar.gz libvirt-ecb0221a5fbbbdcd4629d89b768a33aac7d358f6.tar.bz2 libvirt-ecb0221a5fbbbdcd4629d89b768a33aac7d358f6.zip |
Remove a compilation warning on uninitialized var
-rw-r--r-- | src/test/test_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_driver.c b/src/test/test_driver.c index d03d55d56..d74a0e2d5 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -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 */ |