[PATCH] Fix uninitialized msec_to_next in output_repaint_timer_arm

Quentin Glidic sardemff7+wayland at sardemff7.net
Wed Mar 22 16:56:42 UTC 2017


On 18/03/2017 13:01, Sergi Granell wrote:
> Signed-off-by: Sergi Granell <xerpi.g.12 at gmail.com>

Good:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>

And pushed:
65e57c93..b4c08863  master -> master

Thanks,

> ---
>   libweston/compositor.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libweston/compositor.c b/libweston/compositor.c
> index fb647daa..048b195c 100644
> --- a/libweston/compositor.c
> +++ b/libweston/compositor.c
> @@ -2388,7 +2388,7 @@ output_repaint_timer_arm(struct weston_compositor *compositor)
>   	struct weston_output *output;
>   	bool any_should_repaint = false;
>   	struct timespec now;
> -	int64_t msec_to_next;
> +	int64_t msec_to_next = INT64_MAX;
>   
>   	weston_compositor_read_presentation_clock(compositor, &now);
>   
> 


-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list