Fixed compiler warnings
authorSam Lantinga <slouken@libsdl.org>
Sun, 23 Jul 2006 00:55:25 +0000
changeset 1930 9483df98e011
parent 1929 595ac54a8f9f
child 1931 103c6fec2a60
Fixed compiler warnings Updated Visual C++ 2005 project
VisualC.zip
src/video/SDL_renderer_sw.c
src/video/SDL_video.c
Binary file VisualC.zip has changed
--- a/src/video/SDL_renderer_sw.c	Sun Jul 23 00:48:12 2006 +0000
+++ b/src/video/SDL_renderer_sw.c	Sun Jul 23 00:55:25 2006 +0000
@@ -408,8 +408,6 @@
 {
     SW_RenderData *data = (SW_RenderData *) renderer->driverdata;
     Uint8 r, g, b, a;
-    void *pixels;
-    int pitch;
     SDL_Rect real_rect;
     int status;
 
--- a/src/video/SDL_video.c	Sun Jul 23 00:48:12 2006 +0000
+++ b/src/video/SDL_video.c	Sun Jul 23 00:55:25 2006 +0000
@@ -2288,7 +2288,7 @@
         SDL_SetError("The specified window isn't an OpenGL window");
         return;
     }
-    return _this->GL_SwapWindow(_this, window);
+    _this->GL_SwapWindow(_this, window);
 }
 
 void