diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c index 5db432cd9f..3d5daa57fa 100644 --- a/gfx/video_thread_wrapper.c +++ b/gfx/video_thread_wrapper.c @@ -173,7 +173,7 @@ static void thread_reply(thread_video_t *thr, enum thread_cmd cmd) static void thread_loop(void *data) { thread_video_t *thr = (thread_video_t*)data; - unsigned i; + unsigned i = 0; (void)i; for (;;)