[libvirt] [PATCH v1 19/21] tools: remove unneeded cleanup labels

Ján Tomko jtomko at redhat.com
Tue Nov 12 16:51:17 UTC 2019


On Mon, Oct 21, 2019 at 03:19:09PM -0300, Daniel Henrique Barboza wrote:
>Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
>---
> tools/virsh-completer-network.c |  8 ++-----
> tools/virsh-domain.c            | 41 +++++++++++----------------------
> tools/vsh.c                     | 14 +++++------
> 3 files changed, 22 insertions(+), 41 deletions(-)
>
>@@ -5056,7 +5048,7 @@ cmdSchedInfoUpdateOne(vshControl *ctl,
>                                         field, param->type,
>                                         value) < 0) {
>             vshSaveLibvirtError();
>-            goto cleanup;
>+            return ret;

return -1;

>         }
>         ret = 0;
>         break;

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191112/43516647/attachment-0001.sig>


More information about the libvir-list mailing list