]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_domain: Drop needless 'error' label in qemuDomainObjPrivateXMLParse()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 11 May 2022 14:38:28 +0000 (16:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 12 May 2022 06:51:18 +0000 (08:51 +0200)
commitbc3387f38f4660e17ceeccaaf1de34c0ad6b128c
tree548910a340ba82efb82e365925de0991949c7287
parent5b0bba799b1804d2c9a38458a55c09d9fb08a676
qemu_domain: Drop needless 'error' label in qemuDomainObjPrivateXMLParse()

After previous cleanup the 'error' label in
qemuDomainObjPrivateXMLParse() contains nothing but a return
statement. Well, the label can be dropped and all 'goto'-s can be
replaced with the return statement directly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_domain.c