# HG changeset patch # User Sam Lantinga # Date 1273445179 25200 # Node ID c9584df6536732a3d95d940a53bc3627f9f1c2db # Parent 5e1f9cb9fa984867e572b9c1f1ee282d52210e93 Removed unused variables diff -r 5e1f9cb9fa98 -r c9584df65367 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;