Various minor fixes following a pass of cppcheck static analyzer
This commit is contained in:
@@ -1871,6 +1871,7 @@ struct ExampleAppConsole
|
|||||||
ExampleAppConsole()
|
ExampleAppConsole()
|
||||||
{
|
{
|
||||||
ClearLog();
|
ClearLog();
|
||||||
|
memset(InputBuf, 0, sizeof(InputBuf));
|
||||||
HistoryPos = -1;
|
HistoryPos = -1;
|
||||||
Commands.push_back("HELP");
|
Commands.push_back("HELP");
|
||||||
Commands.push_back("HISTORY");
|
Commands.push_back("HISTORY");
|
||||||
|
|||||||
Reference in New Issue
Block a user