From 6fac2483ef7eed71ae427cdc9881a3a7b4a30a18 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Thu, 30 Jul 2015 08:55:07 -0700 Subject: [PATCH] [PVS-Studio] Fix redundant var init in GetConsoleLineHeightPixels() Bug #301 --- source/Debugger/Debugger_Display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Debugger/Debugger_Display.cpp b/source/Debugger/Debugger_Display.cpp index 6e4c98dd..dc044eaf 100644 --- a/source/Debugger/Debugger_Display.cpp +++ b/source/Debugger/Debugger_Display.cpp @@ -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) {