# HG changeset patch # User Sam Lantinga # Date 1257654119 0 # Node ID 25ccea045c9fd97e00d19bfae9ae1fd3aa834935 # Parent 032e64bbb56c851dad3d75436c2ffc50bc6c56ff Fixed compile warning diff -r 032e64bbb56c -r 25ccea045c9f src/video/SDL_video.c --- a/src/video/SDL_video.c Sun Nov 08 04:16:42 2009 +0000 +++ b/src/video/SDL_video.c Sun Nov 08 04:21:59 2009 +0000 @@ -969,8 +969,6 @@ static __inline__ SDL_Renderer * SDL_GetCurrentRenderer() { - SDL_Renderer *renderer; - if (!_this) { SDL_UninitializedVideo(); return NULL;