Fix return value in testStoragePoolBuild for test driver

This commit is contained in:
Daniel P. Berrange 2008-12-07 14:08:37 +00:00
parent 466f86052f
commit a2b2ada85c
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Sun Dec 7 14:03:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/test.c: Fix return value in testStoragePoolBuild
Fri Dec 5 16:03:53 CET 2008 Daniel Veillard <veillard@redhat.com> Fri Dec 5 16:03:53 CET 2008 Daniel Veillard <veillard@redhat.com>
* src/node_device_hal.c configure.in: fix a compilation problem * src/node_device_hal.c configure.in: fix a compilation problem

View File

@ -2506,6 +2506,7 @@ testStoragePoolBuild(virStoragePoolPtr pool,
_("storage pool '%s' is already active"), pool->name); _("storage pool '%s' is already active"), pool->name);
goto cleanup; goto cleanup;
} }
ret = 0;
cleanup: cleanup:
if (privpool) if (privpool)