[PATCH v3 05/25] util: virtypedparam: Simplify error handling in virTypedParamListAdd*

Martin Kletzander mkletzan at redhat.com
Wed Apr 19 13:16:56 UTC 2023


On Wed, Apr 19, 2023 at 02:04:22PM +0200, Peter Krempa wrote:
>Don't check the return value of 'virTypedParamListExtend' which will
>always be a valid pointer and 'virTypedParameterAssignValue' always
>returns 0.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230419/c0aa3ed8/attachment.sig>


More information about the libvir-list mailing list