From ecb0221a5fbbbdcd4629d89b768a33aac7d358f6 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 16 Nov 2009 17:31:35 +0100 Subject: [PATCH] Remove a compilation warning on uninitialized var --- src/test/test_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index d03d55d560..d74a0e2d56 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 */ -- GitLab