]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationDstFinishFresh: Avoid multi-line ternary operator in function call
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jul 2022 12:03:18 +0000 (14:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jul 2022 14:22:36 +0000 (16:22 +0200)
commita74fceb7d588b40054444ee98c40985409d41273
tree8abf4717bed1a1f8ccf37d50f93758c85e42eece
parent45912ac399abd9d4eba21fa3f15cb7587351f959
qemuMigrationDstFinishFresh: Avoid multi-line ternary operator in function call

Rewrite the code using a temporary variable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c