]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh-completer: remove excessive labels
authorJán Tomko <jtomko@redhat.com>
Fri, 29 Mar 2019 15:46:54 +0000 (16:46 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 3 Apr 2019 08:24:47 +0000 (10:24 +0200)
commitb0325e07e6c38d19a3b0354635f025b5bc0dbd75
tree1a06411589809d936be2950e8d1d6d20d927af13
parentd41af4b4357d511e1782ee35f1c209087a78c06e
virsh-completer: remove excessive labels

Now that we have a shared cleanup section everywhere,
delete all the 'error' labels which all contain just 'goto cleanup'
anyway.

Also remove all the 'cleanup' labels that only 'return ret' - we
can simply return NULL instead of jumping to that label.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
tools/virsh-completer.c