[PATCH weston 3/3] clients: Remove stray new-line

Bryce Harrington bryce at osg.samsung.com
Mon Jan 26 12:02:22 PST 2015


On Mon, Jan 26, 2015 at 06:19:07PM +0800, Jonas Ådahl wrote:
> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
> ---
>  clients/subsurfaces.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/clients/subsurfaces.c b/clients/subsurfaces.c
> index e0a5010..438b992 100644
> --- a/clients/subsurfaces.c
> +++ b/clients/subsurfaces.c
> @@ -256,8 +256,7 @@ egl_make_swapbuffers_nonblock(struct egl_state *egl)
>  	if (!eglGetConfigAttrib(egl->dpy, egl->conf, a, &a) ||
>  	    !eglGetConfigAttrib(egl->dpy, egl->conf, b, &b)) {
>  		fprintf(stderr, "warning: swap interval range unknown\n");
> -	} else
> -	if (a > 0) {
> +	} else if (a > 0) {
>  		fprintf(stderr, "warning: minimum swap interval is %d, "
>  			"while 0 is required to not deadlock on resize.\n", a);

This one's trivial enough, so I've taken it for trunk:

   836b9c7..6c3bd9c  master -> master

The other two LGTM but I'd want to see other people's Reviewed-By's on
before landing them, just to be sure.

Bryce

>  	}
> -- 
> 2.1.0
> 
> _______________________________________________
> 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