mirror of https://gitee.com/openkylin/libvirt.git
qemuDomainNamespaceSetupDisk: initialize npaths
Introduced by commit d3db304
.
Reported-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
1e98d450f2
commit
e2ad8e5993
|
@ -10034,7 +10034,7 @@ qemuDomainNamespaceSetupDisk(virDomainObjPtr vm,
|
|||
{
|
||||
virStorageSourcePtr next;
|
||||
char **paths = NULL;
|
||||
size_t npaths;
|
||||
size_t npaths = 0;
|
||||
int ret = -1;
|
||||
|
||||
if (!qemuDomainNamespaceEnabled(vm, QEMU_DOMAIN_NS_MOUNT))
|
||||
|
|
Loading…
Reference in New Issue