# HG changeset patch # User Sam Lantinga # Date 1296850972 28800 # Node ID 34e2d511578687192d265d8f812f3ebede226f6c # Parent ededa1ccf91c690d589acd328e6913fb78dc4346 Removed unused variables diff -r ededa1ccf91c -r 34e2d5115786 src/SDL_compat.c --- a/src/SDL_compat.c Thu Feb 03 21:13:55 2011 -0800 +++ b/src/SDL_compat.c Fri Feb 04 12:22:52 2011 -0800 @@ -385,8 +385,6 @@ SDL_ResizeVideoMode(int width, int height, int bpp, Uint32 flags) { int w, h; - Uint32 format; - int access; /* We can't resize something we don't have... */ if (!SDL_VideoWindow) { @@ -448,7 +446,6 @@ int window_y = SDL_WINDOWPOS_UNDEFINED; Uint32 window_flags; Uint32 surface_flags; - Uint32 i; if (!SDL_GetVideoDevice()) { if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) < 0) { @@ -711,7 +708,6 @@ SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects) { int i; - SDL_Rect rect; if (screen == SDL_ShadowSurface) { for (i = 0; i < numrects; ++i) {