uninitialized variables-console

This commit is contained in:
AzaezelX 2020-05-11 14:40:31 -05:00
parent e9415a0994
commit 2c1508c169
23 changed files with 66 additions and 11 deletions

View file

@ -78,6 +78,7 @@ class TelnetConsole
S32 state; ///< State of the client.
/// @see TelnetConsole::State
TelnetClient *nextClient;
TelnetClient() { dStrncpy(curLine, "", Con::MaxLineLength); curPos = 0; state = 0; nextClient = NULL; }
};
TelnetClient *mClientList;
TelnetConsole();