- 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
|
|
@ -282,8 +282,8 @@ void C_DoCommand (const char *cmd, int keynum)
|
|||
}
|
||||
else
|
||||
{
|
||||
auto cmd = new FStoredCommand(com, beg);
|
||||
delayedCommandQueue.AddCommand(cmd);
|
||||
auto command = new FStoredCommand(com, beg);
|
||||
delayedCommandQueue.AddCommand(command);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -373,8 +373,8 @@ void AddCommandString (const char *text, int keynum)
|
|||
// Note that deferred commands lose track of which key
|
||||
// (if any) they were pressed from.
|
||||
*brkpt = ';';
|
||||
auto cmd = new FWaitingCommand(brkpt, tics, UnsafeExecutionContext);
|
||||
delayedCommandQueue.AddCommand(cmd);
|
||||
auto command = new FWaitingCommand(brkpt, tics, UnsafeExecutionContext);
|
||||
delayedCommandQueue.AddCommand(command);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -851,8 +851,8 @@ CCMD (key)
|
|||
|
||||
for (i = 1; i < argv.argc(); ++i)
|
||||
{
|
||||
unsigned int key = MakeKey (argv[i]);
|
||||
Printf (" 0x%08x\n", key);
|
||||
unsigned int hash = MakeKey (argv[i]);
|
||||
Printf (" 0x%08x\n", hash);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1014,7 +1014,6 @@ void FExecList::AddPullins(TArray<FString> &wads, FConfigFile *config) const
|
|||
FExecList *C_ParseExecFile(const char *file, FExecList *exec)
|
||||
{
|
||||
char cmd[4096];
|
||||
int retval = 0;
|
||||
|
||||
FileReader fr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue