It's a pointer after all. We should initialize it to NULL instead of
false.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/conf/domain_conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 9aad782..ccd3bdf 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -2490,7 +2490,7 @@ virDomainObjListAddLocked(virDomainObjListPtr doms,
char uuidstr[VIR_UUID_STRING_BUFLEN];
if (oldDef)
- *oldDef = false;
+ *oldDef = NULL;
virUUIDFormat(def->uuid, uuidstr);
--
2.0.5