On Jul 4, 2016, at 7:00 AM, Quentin Glidic <[email protected]> 
wrote:
> 
> From: Quentin Glidic <[email protected]>
> 
> Signed-off-by: Quentin Glidic <[email protected]>

Seems trivial enough, and is

Reviewed-by: Yong Bakos <[email protected]>

However, it would be nice to see what the warning is in the
commit log. I can't reproduce the 'silly warning'.
There are additional cases of uninitialized local bool vars
elsewhere, that, if causing a similar warning, could also be
fixed in this patch or a short series.

yong


> ---
> libweston/gl-renderer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
> index 28c0b50..73b6ccc 100644
> --- a/libweston/gl-renderer.c
> +++ b/libweston/gl-renderer.c
> @@ -455,7 +455,7 @@ static int
> compress_bands(pixman_box32_t *inrects, int nrects,
>                  pixman_box32_t **outrects)
> {
> -     bool merged;
> +     bool merged = false;
>       pixman_box32_t *out, merge_rect;
>       int i, j, nout;
> 
> -- 
> 2.9.0
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to