mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
qemu: avoid dead store in doPeer2PeerMigrate3
* src/qemu/qemu_migration.c: avoid dead 'ret' assignment and silence clang warning. Detected by ccc-analyzer: CC libvirt_driver_qemu_la-qemu_migration.lo qemu/qemu_migration.c:2046:5: warning: Value stored to 'ret' is never read ret = qemuMigrationConfirm(driver, sconn, vm, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
2d533a465a
commit
d69d321086
@ -2043,6 +2043,9 @@ finish:
|
|||||||
* do, but fortunately worst case is that there is a
|
* do, but fortunately worst case is that there is a
|
||||||
* domain left in 'paused' state on source.
|
* domain left in 'paused' state on source.
|
||||||
*/
|
*/
|
||||||
|
if (ret < 0)
|
||||||
|
VIR_WARN("Guest %s probably left in 'paused' state on source",
|
||||||
|
vm->def->name);
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
if (ddomain) {
|
if (ddomain) {
|
||||||
|
Loading…
Reference in New Issue
Block a user