[libvirt PATCH 00/10] virsh: moments: use g_auto more (glib chronicles)

Ján Tomko jtomko at redhat.com
Tue Aug 10 17:44:59 UTC 2021


Ján Tomko (10):
  vsh: table: define cleanup function
  virsh: add cleanup function for virshDomainCheckpoint
  virsh: add cleanup function for virshDomainSnapshot
  virsh: checkpoint: move variables inside the loop
  virsh: snapshot: move variables inside the loop
  virsh: cmdCheckpointInfo: delete unused variables
  virsh: checkpoint: use g_auto where possible
  virsh: checkpoint: remove pointless cleanup labels
  virsh: snapshot: use g_auto where possible
  virsh: snapshot: remove pointless cleanup labels

 tools/virsh-checkpoint.c | 188 ++++++++-----------------
 tools/virsh-snapshot.c   | 288 +++++++++++++--------------------------
 tools/virsh-util.h       |   4 +
 tools/vsh-table.h        |   1 +
 4 files changed, 156 insertions(+), 325 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list