From 50afc567b3716a3b83bbe38736482cc6a59b7046 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Wed, 10 Aug 2016 07:20:49 +0200 Subject: [PATCH] Prevent unused variable --- gfx/drivers/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 2ead8e6702..91fdb0a37b 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -1760,7 +1760,7 @@ static void gl_set_nonblock_state(void *data, bool state) static bool resolve_extensions(gl_t *gl, const char *context_ident) { -#if defined(HAVE_GL_SYNC) || defined(HAVE_FBO) +#if defined(HAVE_GL_SYNC) settings_t *settings = config_get_ptr(); #endif #ifndef HAVE_OPENGLES