Removed unused variables
authorSam Lantinga <slouken@libsdl.org>
Fri, 04 Feb 2011 12:22:52 -0800
changeset 517134e2d5115786
parent 5169 ededa1ccf91c
child 5172 51b4cfdf7ebb
Removed unused variables
src/SDL_compat.c
     1.1 --- a/src/SDL_compat.c	Thu Feb 03 21:13:55 2011 -0800
     1.2 +++ b/src/SDL_compat.c	Fri Feb 04 12:22:52 2011 -0800
     1.3 @@ -385,8 +385,6 @@
     1.4  SDL_ResizeVideoMode(int width, int height, int bpp, Uint32 flags)
     1.5  {
     1.6      int w, h;
     1.7 -    Uint32 format;
     1.8 -    int access;
     1.9  
    1.10      /* We can't resize something we don't have... */
    1.11      if (!SDL_VideoWindow) {
    1.12 @@ -448,7 +446,6 @@
    1.13      int window_y = SDL_WINDOWPOS_UNDEFINED;
    1.14      Uint32 window_flags;
    1.15      Uint32 surface_flags;
    1.16 -    Uint32 i;
    1.17  
    1.18      if (!SDL_GetVideoDevice()) {
    1.19          if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) < 0) {
    1.20 @@ -711,7 +708,6 @@
    1.21  SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects)
    1.22  {
    1.23      int i;
    1.24 -    SDL_Rect rect;
    1.25  
    1.26      if (screen == SDL_ShadowSurface) {
    1.27          for (i = 0; i < numrects; ++i) {