[PATCH v2 2/7] virDomainCapsEnumFormat: Retrun void

Peter Krempa pkrempa at redhat.com
Thu Jan 5 08:40:18 UTC 2023


On Thu, Jan 05, 2023 at 09:34:56 +0100, Michal Privoznik wrote:
> The virDomainCapsEnumFormat() function does not return anything
> but zero and none of its callers is interested in the failure
> anyways. Switch its return type from integer to void.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/domain_capabilities.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list