From f59cb836d4164ca5c5abf2d3406e43a5688065fe Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 22 Oct 2012 09:24:33 +0200 Subject: [PATCH] Fix warning. --- gfx/gl.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gfx/gl.c b/gfx/gl.c index f01651693c..eb3ab282a7 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1495,18 +1495,16 @@ static bool gl_read_viewport(void *data, uint8_t *buffer) } #endif +#ifdef HAVE_RMENU static void gl_init_menu(void *data) { gl_t *gl = (gl_t*)data; -#ifdef HAVE_RMENU RARCH_LOG("Initializing menu shader...\n"); if (gl->ctx_driver->rmenu_init) gl->ctx_driver->rmenu_init(); -#else - (void)gl; -#endif } +#endif #ifdef RARCH_CONSOLE static void gl_start(void)