It's already initialized to '1'.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/libvirt-domain.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index dba89a7d3a..e9688a15b4 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -3089,7 +3089,6 @@ virDomainMigrateVersion3Full(virDomainPtr domain,
virTypedParamsReplaceString(¶ms, &nparams,
VIR_MIGRATE_PARAM_URI,
uri_out) < 0) {
- cancelled = 1;
virErrorPreserveLast(&orig_err);
goto finish;
}
@@ -3098,7 +3097,6 @@ virDomainMigrateVersion3Full(virDomainPtr domain,
VIR_MIGRATE_PARAM_URI, &uri) <= 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("domainMigratePrepare3 did not set uri"));
- cancelled = 1;
virErrorPreserveLast(&orig_err);
goto finish;
}
--
2.29.2