[libvirt PATCH 2/4] vbox: fix vboxCapsInit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is a stray mis-indented 'return NULL' left after a recent
refactor.

Fixes: c18d9e23fafabcfbb80481e0705931036b8e7331
Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/vbox/vbox_common.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 62c8e22cb5..72f1b9c466 100644
--- a/src/vbox/vbox_common.c
+++ b/src/vbox/vbox_common.c
@@ -102,7 +102,6 @@ vboxCapsInit(void)
 
     guest = virCapabilitiesAddGuest(caps, VIR_DOMAIN_OSTYPE_HVM,
                                     caps->host.arch, NULL, NULL, 0, NULL);
-        return NULL;
 
     virCapabilitiesAddGuestDomain(guest, VIR_DOMAIN_VIRT_VBOX,
                                   NULL, NULL, 0, NULL);
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux