[PATCH v7 11/23] squash to checkpoint list

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

 



---
 src/conf/checkpoint_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/checkpoint_conf.c b/src/conf/checkpoint_conf.c
index 3dd2acf886..01497a79f6 100644
--- a/src/conf/checkpoint_conf.c
+++ b/src/conf/checkpoint_conf.c
@@ -615,7 +615,7 @@ virDomainCheckpointRedefinePrep(virDomainPtr domain,
         return -1;

     other = virDomainCheckpointFindByName(vm->checkpoints, def->common.name);
-    otherdef = other ? virDomainCheckpointObjGetDef(other) : NULL;
+    otherdef = virDomainCheckpointObjGetDef(other);
     if (other) {
         if (!virDomainDefCheckABIStability(otherdef->common.dom,
                                            def->common.dom, xmlopt))
-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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