From 8349f9217cc0a12149d0147904bbd7f8c53bfac6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 20 Jan 2019 01:52:20 +0100 Subject: [PATCH] Warning cleanup --- gfx/drivers/gl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 410dd8f5c3..a7abdfecca 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -2563,10 +2563,8 @@ static uintptr_t gl_load_texture(void *video_data, void *data, static void gl_unload_texture(void *video_data, uintptr_t data, bool threaded) { - GLuint glid; if (!data) return; - glid = (GLuint)data; #ifdef HAVE_THREADS if (threaded)