mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Add missing initialization to 'ret' in qemu migration
* src/qemu/qemu_migration.c: Add missing 'ret' initializer in qemuMigrationCookieXMLParseStr
This commit is contained in:
parent
91e5c3dc7c
commit
6e7c56f8c9
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user