From 424fcb4cba460ddc58a74ec9784a86f1813f066e Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 3 Jan 2013 03:08:45 +0000 Subject: [PATCH] - Initialize sprframe to NULL in FListMenuItemPlayerDisplay::Drawer(). SVN r4018 (trunk) --- src/menu/playerdisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menu/playerdisplay.cpp b/src/menu/playerdisplay.cpp index c0f353675..b3795b60b 100644 --- a/src/menu/playerdisplay.cpp +++ b/src/menu/playerdisplay.cpp @@ -563,7 +563,7 @@ void FListMenuItemPlayerDisplay::Drawer(bool selected) V_DrawFrame (x, y, 72*CleanXfac, 80*CleanYfac-1); - spriteframe_t *sprframe; + spriteframe_t *sprframe = NULL; fixed_t scaleX, scaleY; if (mPlayerState != NULL)