Remove unused goto label from qemudDomainCreate

The previous commit changes a goto from 'endjob' to 'cleanup',
leaving the endjob label unused. Remove it to avoid compile
warning.

* src/qemu/qemu_driver.c: Remove 'endjob' label
This commit is contained in:
Daniel P. Berrange 2010-04-29 12:13:02 +01:00
parent f7366d84f4
commit bdb844e996

View File

@ -4057,7 +4057,6 @@ static virDomainPtr qemudDomainCreate(virConnectPtr conn, const char *xml,
dom = virGetDomain(conn, vm->def->name, vm->def->uuid);
if (dom) dom->id = vm->def->id;
endjob:
if (vm &&
qemuDomainObjEndJob(vm) == 0)
vm = NULL;