From a61f0dfd61334b3f8ce5da89df585decd9cf113d Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 2 Nov 2013 17:54:34 +0100 Subject: [PATCH] Fix potential uninitialized variable. --- gfx/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/gl.c b/gfx/gl.c index f26f891551..1ab4465da9 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -2181,7 +2181,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo static bool gl_alive(void *data) { gl_t *gl = (gl_t*)data; - bool quit, resize; + bool quit = false, resize = false; context_check_window_func(&quit, &resize, &gl->win_width, &gl->win_height,