mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
qemu_snapshot: revert: drop unused variable
Commit <f33ce12e9cd9cab7e6022e91d3765c33d99bf777> dropped unused code but missed one variable. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
04e91af13e
commit
0bf41434d9
@ -1944,7 +1944,6 @@ qemuSnapshotRevert(virDomainObj *vm,
|
||||
virDomainDef *inactiveConfig = NULL;
|
||||
g_autoptr(virQEMUDriverConfig) cfg = virQEMUDriverGetConfig(driver);
|
||||
qemuDomainSaveCookie *cookie;
|
||||
virCPUDef *origCPU = NULL;
|
||||
unsigned int start_flags = VIR_QEMU_PROCESS_START_GEN_VMID;
|
||||
bool defined = false;
|
||||
|
||||
@ -2234,7 +2233,6 @@ qemuSnapshotRevert(virDomainObj *vm,
|
||||
}
|
||||
virObjectEventStateQueue(driver->domainEventState, event);
|
||||
virObjectEventStateQueue(driver->domainEventState, event2);
|
||||
virCPUDefFree(origCPU);
|
||||
virDomainDefFree(config);
|
||||
virDomainDefFree(inactiveConfig);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user