From e3e3adf168f9e0aabc4cb05d697b229d04e9400e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 11 Jul 2012 22:04:19 -0400 Subject: [PATCH] Removed unused variable to silence compiler warning. --- src/video/x11/SDL_x11opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11opengl.c b/src/video/x11/SDL_x11opengl.c index 90b1e73b9..22e6f672d 100755 --- a/src/video/x11/SDL_x11opengl.c +++ b/src/video/x11/SDL_x11opengl.c @@ -424,7 +424,7 @@ X11_GL_GetVisual(_THIS, Display * display, int screen) /* 64 seems nice. */ int attribs[64]; - int i = X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE); + X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE); if (!_this->gl_data) { /* The OpenGL library wasn't loaded, SDL_GetError() should have info */