Debugger: minor clean-up: compiler warnings, unused variables etc (#840)

This commit is contained in:
ThorstenB
2020-10-01 20:55:29 +02:00
committed by GitHub
parent b5739b862a
commit 7d7aa17a47
8 changed files with 31 additions and 95 deletions
-8
View File
@@ -354,7 +354,6 @@ void ConsoleBufferToDisplay ()
//===========================================================================
void ConsoleConvertFromText ( conchar_t * sText, const char * pText )
{
int x = 0;
const char *pSrc = pText;
conchar_t *pDst = sText;
while (pSrc && *pSrc)
@@ -523,13 +522,6 @@ void ConsoleInputReset ()
g_aConsoleInput[0] = g_sConsolePrompt[0];
g_nConsolePromptLen = 1;
// int nLen = strlen( g_aConsoleInput );
#if CONSOLE_INPUT_CHAR16
int nLen = ConsoleLineLength( g_aConsoleInput );
#else
int nLen = strlen( g_aConsoleInput );
#endif
g_pConsoleInput = &g_aConsoleInput[ g_nConsolePromptLen ];
g_nConsoleInputChars = 0;
}