]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_conf: rewrite if else condition
authorKristina Hanicova <khanicov@redhat.com>
Wed, 20 Jul 2022 12:42:29 +0000 (14:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Jul 2022 12:54:30 +0000 (14:54 +0200)
commit39453278393879ca38e32fb2be898c93d726249e
treeb01b2793b07266272be54388a06615afe5994f49
parentdc0ae3a50f430d3be72185a42e08d0b37b42cb86
domain_conf: rewrite if else condition

This patch prevents nesting of if conditions and makes the code
cleaner.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c