diff src/SDL_compat.c @ 2228:bb67fd5ccfdb

Fixed compile warnings with Visual C++
author Sam Lantinga <slouken@libsdl.org>
date Sun, 12 Aug 2007 00:01:41 +0000
parents 0e70b4b8cf84
children eebaa05f8bd9
line wrap: on
line diff
--- 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) {