src/video/SDL_RLEaccel.c
changeset 6389 43a190ad60a7
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
     1.1 --- a/src/video/SDL_RLEaccel.c	Wed Aug 08 13:44:58 2012 -0400
     1.2 +++ b/src/video/SDL_RLEaccel.c	Thu Aug 09 14:14:41 2012 -0400
     1.3 @@ -1270,9 +1270,8 @@
     1.4      Uint8 *rlebuf, *dst;
     1.5      int maxn;
     1.6      int y;
     1.7 -    Uint8 *srcbuf, *curbuf, *lastline;
     1.8 +    Uint8 *srcbuf, *lastline;
     1.9      int maxsize = 0;
    1.10 -    int skip, run;
    1.11      int bpp = surface->format->BytesPerPixel;
    1.12      getpix_func getpix;
    1.13      Uint32 ckey, rgbmask;
    1.14 @@ -1306,9 +1305,7 @@
    1.15  
    1.16      /* Set up the conversion */
    1.17      srcbuf = (Uint8 *) surface->pixels;
    1.18 -    curbuf = srcbuf;
    1.19      maxn = bpp == 4 ? 65535 : 255;
    1.20 -    skip = run = 0;
    1.21      dst = rlebuf;
    1.22      rgbmask = ~surface->format->Amask;
    1.23      ckey = surface->map->info.colorkey & rgbmask;