Fixed compile warning

This commit is contained in:
Sam Lantinga
2009-11-08 04:21:59 +00:00
parent bc71d2180a
commit 30a9c47830

View File

@@ -969,8 +969,6 @@ SDL_GetDisplayFromWindow(SDL_Window * window)
static __inline__ SDL_Renderer *
SDL_GetCurrentRenderer()
{
SDL_Renderer *renderer;
if (!_this) {
SDL_UninitializedVideo();
return NULL;