[PATCH 04/19] virDomainMigrateVersion3Full: Don't set 'cancelled' to the same value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's already initialized to '1'.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 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(&params, &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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux