- Backend update from Raze.
This is mainly code cleanup from setting the compiler to a stricter warning level.
This commit is contained in:
parent
6aea7694bc
commit
1c517d19fa
102 changed files with 493 additions and 590 deletions
|
|
@ -331,16 +331,16 @@ void C_DeinitConsole ()
|
|||
// at runtime.)
|
||||
for (size_t i = 0; i < countof(Commands); ++i)
|
||||
{
|
||||
FConsoleCommand *cmd = Commands[i];
|
||||
FConsoleCommand *command = Commands[i];
|
||||
|
||||
while (cmd != NULL)
|
||||
while (command != NULL)
|
||||
{
|
||||
FConsoleCommand *next = cmd->m_Next;
|
||||
if (cmd->IsAlias())
|
||||
FConsoleCommand *nextcmd = command->m_Next;
|
||||
if (command->IsAlias())
|
||||
{
|
||||
delete cmd;
|
||||
delete command;
|
||||
}
|
||||
cmd = next;
|
||||
command = nextcmd;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue