1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

qemuSnapshotCreateActiveExternal: Remove duplicit assignment

The block of code pausing the VM assigns 'resume' to true but it's
already true because of the previous condition.

The code is deliberately kept in two blocks as upcoming changes will
modify both conditions.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2022-03-04 14:37:13 +01:00
parent 238fef920f
commit 825476beda

View File

@ -1400,8 +1400,6 @@ qemuSnapshotCreateActiveExternal(virQEMUDriver *driver,
_("guest unexpectedly quit"));
goto cleanup;
}
resume = true;
}
}