]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor_json: Drop pointless error labels
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Oct 2021 07:59:51 +0000 (09:59 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Oct 2021 11:42:57 +0000 (13:42 +0200)
commit91e206427f06074ea9739136e81add3740c5db0e
tree9fab8091d8676ae4d536f8032961474940844427
parent3361cc2f3ccf50ba99ae8cc4c47729585a8ee7e7
qemu_monitor_json: Drop pointless error labels

After previous cleanups, some 'error' labels were rendered
needless - they contain nothing more than a return statement.
Well, those labels can be dropped and 'goto error' can be
replaced with return statement directly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
src/qemu/qemu_monitor_json.c