[PATCH 0/4] Misc style cleanups

Michal Privoznik mprivozn at redhat.com
Fri Nov 12 15:22:31 UTC 2021


This is all done in preparation for dropping needless labels such as:

  cleanup:
     return ret;

I'll post that patch as soon as these are merged.

Michal Prívozník (4):
  virNetDevVPortProfileParse: Use g_autofree
  examples/dommigrate: Don't set retval in usage()
  examples/dommigrate: Make retval portable
  virsh: Remove unnecessary else branches

 examples/c/domain/dommigrate.c       | 11 +++++-----
 src/conf/netdev_vport_profile_conf.c | 30 +++++++++-----------------
 tools/virsh-nodedev.c                |  5 ++---
 tools/virsh-volume.c                 | 32 +++++++++++++---------------
 4 files changed, 32 insertions(+), 46 deletions(-)

-- 
2.32.0




More information about the libvir-list mailing list