Set the return value to 0 when everything work as expected
Signed-off-by: Luyao Huang <lhuang(a)redhat.com>
---
src/qemu/qemu_process.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 93fd6ba..631254d 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -5842,6 +5842,7 @@ qemuProcessSEVCreateFile(const char *configDir,
goto cleanup;
}
+ ret = 0;
cleanup:
VIR_FREE(configFile);
return ret;
--
1.8.3.1