- Fixed all the warnings from GCC 4.2, including a handful that were
present in older GCCs. SVN r430 (trunk)
This commit is contained in:
parent
ff65f75a8c
commit
851bf89442
33 changed files with 106 additions and 87 deletions
|
|
@ -698,8 +698,9 @@ void AddToConsole (int printlevel, const char *text)
|
|||
worklen = size;
|
||||
}
|
||||
if (work == NULL)
|
||||
{
|
||||
work = TEXTCOLOR_RED "*** OUT OF MEMORY ***";
|
||||
{
|
||||
static char oom[] = TEXTCOLOR_RED "*** OUT OF MEMORY ***";
|
||||
work = oom;
|
||||
worklen = 0;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue