From d48fe2aa0518faddd180ed9a033bb5621661282b Mon Sep 17 00:00:00 2001 From: mpohoreski Date: Wed, 18 Feb 2009 16:16:16 +0000 Subject: [PATCH] vars used without being init cleanup --- source/Debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Debug.cpp b/source/Debug.cpp index 378a5a12..db16e1b4 100644 --- a/source/Debug.cpp +++ b/source/Debug.cpp @@ -1480,7 +1480,7 @@ Update_t CmdBreakInvalid (int nArgs) // Breakpoint IFF Full-speed! goto _Help; int iType = 0; // default to BRK - int nActive; + int nActive = 0; // if (nArgs == 2) iType = g_aArgs[ 1 ].nValue; @@ -2801,7 +2801,7 @@ bool DebuggerSetColor( const int iScheme, const int iColor, const COLORREF nColo //=========================================================================== Update_t CmdConfigColorMono (int nArgs) { - int iScheme; + int iScheme = 0; if (g_iCommand == CMD_CONFIG_COLOR) iScheme = SCHEME_COLOR;