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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux