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

Eduardo Lima (Etrunko) etrunko at redhat.com
Mon Dec 3 21:22:48 UTC 2018


On 11/29/18 3:42 PM, 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;

Isn't this one here useless as well?

>      }
>  #endif
> -
> -    return;
>  }
>  
>  static void channel_destroy(SpiceSession *s, SpiceChannel *channel, SpiceDisplay *display)
> 


-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181203/9e7585a1/attachment.sig>


More information about the Spice-devel mailing list