[libvirt] [PATCH 12/14] virsh-completer: remove excessive labels
Peter Krempa
pkrempa at redhat.com
Wed Apr 3 08:05:11 UTC 2019
On Mon, Apr 01, 2019 at 09:33:29 +0200, Ján Tomko wrote:
> 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 at redhat.com>
> ---
ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190403/6e809c4b/attachment-0001.sig>
More information about the libvir-list
mailing list