mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 23:16:39 +00:00
Debugger: minor clean-up: compiler warnings, unused variables etc (#840)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user