changeset 1930:9483df98e011

Fixed compiler warnings Updated Visual C++ 2005 project
author Sam Lantinga <slouken@libsdl.org>
date Sun, 23 Jul 2006 00:55:25 +0000
parents 595ac54a8f9f
children 103c6fec2a60
files VisualC.zip src/video/SDL_renderer_sw.c src/video/SDL_video.c
diffstat 3 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
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