Various minor fixes following a pass of cppcheck static analyzer

This commit is contained in:
ocornut 2015-12-30 11:55:37 +01:00
parent 8061a6ceea
commit 81c86dd5e7

View File

@ -1871,6 +1871,7 @@ struct ExampleAppConsole
ExampleAppConsole()
{
ClearLog();
memset(InputBuf, 0, sizeof(InputBuf));
HistoryPos = -1;
Commands.push_back("HELP");
Commands.push_back("HISTORY");