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

2022-07-21 Thread Martin Kletzander
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 wrote: Switch is u

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

2022-07-21 Thread Kristina Hanicova
sorry for the confusing commit message, it should have been "domain_conf: extend switch in virDomainChrDefFree()" only:D Kristina On Thu, Jul 21, 2022 at 12:46 PM Kristina Hanicova wrote: > Switch is used for just one case, but a more future proof > approach is to handle all enum values. > > Si

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

2022-07-21 Thread Kristina Hanicova
Switch is used for just one case, but a more future proof approach is to handle all enum values. Signed-off-by: Kristina Hanicova --- src/conf/domain_conf.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index b903dac1cb