[PATCH v2 0/2] domain_conf: rewriting else after return

Kristina Hanicova posted 2 patches 1 year, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1658402859.git.khanicov@redhat.com
src/conf/domain_conf.c | 77 +++++++++++++++++++++++++++---------------
1 file changed, 49 insertions(+), 28 deletions(-)
[PATCH v2 0/2] domain_conf: rewriting else after return
Posted by Kristina Hanicova 1 year, 9 months ago
diff to v1:
* split one commit into two
* rewrite the functions in the second one to use the
  switch (suggested by Daniel, thanks)

v1: https://listman.redhat.com/archives/libvir-list/2022-July/232989.html

Kristina Hanicova (2):
  domain_conf: remove else after return / goto
  domain_conf: rewrite if else functions to switch

 src/conf/domain_conf.c | 77 +++++++++++++++++++++++++++---------------
 1 file changed, 49 insertions(+), 28 deletions(-)

-- 
2.35.3