[PVS-Studio] Fix redundant var init in GetConsoleLineHeightPixels() Bug #301

This commit is contained in:
michaelangel007 2015-07-30 08:55:07 -07:00
parent 04702ee7c5
commit 6fac2483ef

View File

@ -1223,7 +1223,7 @@ void DrawBreakpoints ( int line )
//===========================================================================
int GetConsoleLineHeightPixels()
{
int nHeight = nHeight = g_aFontConfig[ FONT_CONSOLE ]._nFontHeight; // _nLineHeight; // _nFontHeight;
int nHeight = g_aFontConfig[ FONT_CONSOLE ]._nFontHeight; // _nLineHeight; // _nFontHeight;
/*
if (g_iFontSpacing == FONT_SPACING_CLASSIC)
{