changeset 4458:c9584df65367

Removed unused variables
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 May 2010 15:46:19 -0700
parents 5e1f9cb9fa98
children c0f2a1e6f0cd
files src/video/x11/SDL_x11render.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;