[PATCH] connection: remove unreached code

Kristian Høgsberg hoegsberg at gmail.com
Wed Jun 18 17:14:02 PDT 2014


On Wed, Jun 04, 2014 at 11:39:08AM +0800, Boyan Ding wrote:

Heh, oops, that was silly.  Patch committed, thanks.

Kristian

> ---
>  src/connection.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/connection.c b/src/connection.c
> index 47ee556..f292853 100644
> --- a/src/connection.c
> +++ b/src/connection.c
> @@ -379,8 +379,6 @@ wl_connection_queue(struct wl_connection *connection,
>  	}
>  
>  	return wl_buffer_put(&connection->out, data, count);
> -
> -	return 0;
>  }
>  
>  static int
> -- 
> 1.9.3
> 
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list