mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-10 04:58:12 -05:00
virQEMUCapsInitGuestFromBinary: Remove return value
The function always returns 0. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -102,13 +102,7 @@ testGetCaps(char *capsData, const testQemuData *data)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (virQEMUCapsInitGuestFromBinary(caps,
|
||||
binary,
|
||||
qemuCaps,
|
||||
arch) < 0) {
|
||||
fprintf(stderr, "failed to create the capabilities from qemu");
|
||||
return NULL;
|
||||
}
|
||||
virQEMUCapsInitGuestFromBinary(caps, binary, qemuCaps, arch);
|
||||
|
||||
return g_steal_pointer(&caps);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user