---
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