Removed unused variables
authorSam Lantinga <slouken@libsdl.org>
Sun, 09 May 2010 15:46:19 -0700
changeset 4458c9584df65367
parent 4457 5e1f9cb9fa98
child 4459 c0f2a1e6f0cd
Removed unused variables
src/video/x11/SDL_x11render.c
     1.1 --- a/src/video/x11/SDL_x11render.c	Sun May 09 15:33:10 2010 -0700
     1.2 +++ b/src/video/x11/SDL_x11render.c	Sun May 09 15:46:19 2010 -0700
     1.3 @@ -151,7 +151,6 @@
     1.4  void
     1.5  X11_AddRenderDriver(_THIS)
     1.6  {
     1.7 -    SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
     1.8      SDL_RendererInfo *info = &X11_RenderDriver.info;
     1.9      SDL_DisplayMode *mode = &SDL_CurrentDisplay->desktop_mode;
    1.10      int i;
    1.11 @@ -175,7 +174,6 @@
    1.12      SDL_DisplayData *displaydata = (SDL_DisplayData *) display->driverdata;
    1.13      SDL_WindowData *windowdata = (SDL_WindowData *) window->driverdata;
    1.14      SDL_Renderer *renderer;
    1.15 -    SDL_RendererInfo *info;
    1.16      X11_RenderData *data;
    1.17      XGCValues gcv;
    1.18      int i, n;
    1.19 @@ -658,7 +656,7 @@
    1.20  {
    1.21      X11_RenderData *data = (X11_RenderData *) renderer->driverdata;
    1.22      SDL_Window *window = renderer->window;
    1.23 -    SDL_Rect clip, rect;
    1.24 +    SDL_Rect clip;
    1.25      unsigned long foreground;
    1.26      XPoint *xpoints, *xpoint;
    1.27      int i, xcount;
    1.28 @@ -917,7 +915,6 @@
    1.29          XImage *image = texturedata->scaling_image;
    1.30  
    1.31          if (!image) {
    1.32 -            int depth;
    1.33              void *pixels;
    1.34              int pitch;
    1.35