diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index d699bbbac7..c5108e55a0 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -4709,7 +4709,7 @@ qemuMigrationSrcPerformPeer2Peer(virQEMUDriverPtr driver, int p2p; virErrorPtr orig_err = NULL; bool offline = !!(flags & VIR_MIGRATE_OFFLINE); - int dstOffline; + int dstOffline = 0; g_autoptr(virQEMUDriverConfig) cfg = virQEMUDriverGetConfig(driver); int useParams; int rc;