]> xenbits.xensource.com Git - libvirt.git/commit
vmware: refactor vmwareUpdateVMStatus
authorJán Tomko <jtomko@redhat.com>
Mon, 13 Dec 2021 17:14:05 +0000 (18:14 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 14 Dec 2021 15:41:06 +0000 (16:41 +0100)
commitf7bdd27d2cc561747afa4b0c271c33e0f640ba43
tree00c4403e82f8fcb019f11888da56a6097f645a67
parent975a2b355528d39d911cbc56b5aa86f8233022c2
vmware: refactor vmwareUpdateVMStatus

Use g_auto and get rid of the cleanup label, as well as the ret
variable.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/vmware/vmware_driver.c