diff -r b252359547ed -r bb67fd5ccfdb src/SDL_compat.c --- a/src/SDL_compat.c Sat Aug 11 23:26:03 2007 +0000 +++ b/src/SDL_compat.c Sun Aug 12 00:01:41 2007 +0000 @@ -704,7 +704,6 @@ SDL_DirtyTexture(SDL_VideoTexture, numrects, rects); } else { /* The surface memory needs to be copied to texture */ - void *pixels; int pitch = screen->pitch; int psize = screen->format->BytesPerPixel; for (i = 0; i < numrects; ++i) {