mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
xencapstest: Resolve Coverity CHECKED_RETURN error
The return from virInitialize() needs to be checked.
This commit is contained in:
parent
ceae74608c
commit
01757a46ee
@ -161,7 +161,8 @@ mymain(void)
|
|||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
xenHypervisorInit(&hv_versions);
|
xenHypervisorInit(&hv_versions);
|
||||||
virInitialize();
|
if (virInitialize() < 0)
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
if (virtTestRun("Capabilities for i686, no PAE, no HVM",
|
if (virtTestRun("Capabilities for i686, no PAE, no HVM",
|
||||||
1, testXeni686, NULL) != 0)
|
1, testXeni686, NULL) != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user