Removed unused variables
authorSam Lantinga <slouken@libsdl.org>
Sun, 09 May 2010 15:46:19 -0700
changeset 4458 c9584df65367
parent 4457 5e1f9cb9fa98
child 4459 c0f2a1e6f0cd
Removed unused variables
src/video/x11/SDL_x11render.c
--- a/src/video/x11/SDL_x11render.c	Sun May 09 15:33:10 2010 -0700
+++ b/src/video/x11/SDL_x11render.c	Sun May 09 15:46:19 2010 -0700
@@ -151,7 +151,6 @@
 void
 X11_AddRenderDriver(_THIS)
 {
-    SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
     SDL_RendererInfo *info = &X11_RenderDriver.info;
     SDL_DisplayMode *mode = &SDL_CurrentDisplay->desktop_mode;
     int i;
@@ -175,7 +174,6 @@
     SDL_DisplayData *displaydata = (SDL_DisplayData *) display->driverdata;
     SDL_WindowData *windowdata = (SDL_WindowData *) window->driverdata;
     SDL_Renderer *renderer;
-    SDL_RendererInfo *info;
     X11_RenderData *data;
     XGCValues gcv;
     int i, n;
@@ -658,7 +656,7 @@
 {
     X11_RenderData *data = (X11_RenderData *) renderer->driverdata;
     SDL_Window *window = renderer->window;
-    SDL_Rect clip, rect;
+    SDL_Rect clip;
     unsigned long foreground;
     XPoint *xpoints, *xpoint;
     int i, xcount;
@@ -917,7 +915,6 @@
         XImage *image = texturedata->scaling_image;
 
         if (!image) {
-            int depth;
             void *pixels;
             int pitch;