Removed unused variable to silence compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 11 Jul 2012 22:04:19 -0400
changeset 6359b2a768065c32
parent 6358 50fd16f3c975
child 6360 efd48af40ec3
Removed unused variable to silence compiler warning.
src/video/x11/SDL_x11opengl.c
     1.1 --- a/src/video/x11/SDL_x11opengl.c	Wed Jul 11 20:56:15 2012 -0400
     1.2 +++ b/src/video/x11/SDL_x11opengl.c	Wed Jul 11 22:04:19 2012 -0400
     1.3 @@ -424,7 +424,7 @@
     1.4  
     1.5      /* 64 seems nice. */
     1.6      int attribs[64];
     1.7 -    int i = X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE);
     1.8 +    X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE);
     1.9  
    1.10      if (!_this->gl_data) {
    1.11          /* The OpenGL library wasn't loaded, SDL_GetError() should have info */