提交 6e7c56f8 编写于 作者: D Daniel P. Berrange

Add missing initialization to 'ret' in qemu migration

* src/qemu/qemu_migration.c: Add missing 'ret' initializer
  in qemuMigrationCookieXMLParseStr
上级 91e5c3dc
...@@ -458,7 +458,7 @@ qemuMigrationCookieXMLParseStr(qemuMigrationCookiePtr mig, ...@@ -458,7 +458,7 @@ qemuMigrationCookieXMLParseStr(qemuMigrationCookiePtr mig,
{ {
xmlDocPtr doc = NULL; xmlDocPtr doc = NULL;
xmlXPathContextPtr ctxt = NULL; xmlXPathContextPtr ctxt = NULL;
int ret; int ret = -1;
VIR_DEBUG("xml=%s", NULLSTR(xml)); VIR_DEBUG("xml=%s", NULLSTR(xml));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册