mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
vz: fix vzCapsAddGuestDomain
There is a stray 'return -1' executed on all code paths. Fixes: c18d9e23fafabcfbb80481e0705931036b8e7331 Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
b719d82f4a
commit
ac3e9f5efc
@ -85,8 +85,6 @@ vzCapsAddGuestDomain(virCaps *caps,
|
||||
|
||||
guest = virCapabilitiesAddGuest(caps, ostype, arch,
|
||||
emulator, NULL, 0, NULL);
|
||||
return -1;
|
||||
|
||||
|
||||
virCapabilitiesAddGuestDomain(guest, virt_type, NULL, NULL, 0, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user