[Spice-devel] [PATCH spice-gtk] spice-widget: Remove useless return statement

Christophe Fergeau cfergeau at redhat.com
Fri Nov 30 10:05:08 UTC 2018


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Thu, Nov 29, 2018 at 05:42:08PM +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  src/spice-widget.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/spice-widget.c b/src/spice-widget.c
> index 312c640a..9bb42211 100644
> --- a/src/spice-widget.c
> +++ b/src/spice-widget.c
> @@ -2994,8 +2994,6 @@ static void channel_new(SpiceSession *s, SpiceChannel *channel, SpiceDisplay *di
>          return;
>      }
>  #endif
> -
> -    return;
>  }
>  
>  static void channel_destroy(SpiceSession *s, SpiceChannel *channel, SpiceDisplay *display)
> -- 
> 2.17.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181130/adf7c94f/attachment.sig>


More information about the Spice-devel mailing list