[PATCH v2 5/8] domain_conf: extend switch with if in virDomainChrDefFree()

Martin Kletzander mkletzan at redhat.com
Thu Jul 21 15:08:57 UTC 2022


On Thu, Jul 21, 2022 at 05:04:43PM +0200, Kristina Hanicova wrote:
>sorry for the confusing commit message, it should have been "domain_conf:
>extend switch in virDomainChrDefFree()" only:D
>

ok, with that and ...

>Kristina
>
>On Thu, Jul 21, 2022 at 12:46 PM Kristina Hanicova <khanicov at redhat.com>
>wrote:
>
>> Switch is used for just one case, but a more future proof
>> approach is to handle all enum values.
>>

... without this

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/20220721/4264b1e0/attachment.sig>


More information about the libvir-list mailing list