compositor: initialize ret in repaint_timer_handler
If output_list of compositor is empty, value of ret is read without initialization. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
95c7095e13
commit
e479ed8ec2
@ -2457,7 +2457,7 @@ output_repaint_timer_handler(void *data)
|
||||
struct weston_output *output;
|
||||
struct timespec now;
|
||||
void *repaint_data = NULL;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
weston_compositor_read_presentation_clock(compositor, &now);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user