Fix uninitialized msec_to_next in output_repaint_timer_arm

Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
dev
Sergi Granell 8 years ago committed by Quentin Glidic
parent 65e57c93ca
commit b4c088630f
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
  1. 2
      libweston/compositor.c

@ -2388,7 +2388,7 @@ output_repaint_timer_arm(struct weston_compositor *compositor)
struct weston_output *output; struct weston_output *output;
bool any_should_repaint = false; bool any_should_repaint = false;
struct timespec now; struct timespec now;
int64_t msec_to_next; int64_t msec_to_next = INT64_MAX;
weston_compositor_read_presentation_clock(compositor, &now); weston_compositor_read_presentation_clock(compositor, &now);

Loading…
Cancel
Save