- 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:
Randy Heit 2006-12-29 03:38:37 +00:00
commit 851bf89442
33 changed files with 106 additions and 87 deletions

View file

@ -159,8 +159,8 @@ CVAR (Int, wipetype, 1, CVAR_ARCHIVE);
bool DrawFSHUD; // [RH] Draw fullscreen HUD?
wadlist_t *wadfiles; // [RH] remove limit on # of loaded wads
bool devparm; // started game with -devparm
char *D_DrawIcon; // [RH] Patch name of icon to draw on next refresh
int NoWipe; // [RH] Allow wipe? (Needs to be set each time)
const char *D_DrawIcon; // [RH] Patch name of icon to draw on next refresh
int NoWipe; // [RH] Allow wipe? (Needs to be set each time)
bool singletics = false; // debug flag to cancel adaptiveness
char startmap[8];
bool autostart;
@ -2273,11 +2273,12 @@ void D_DoomMain (void)
// turbo option // [RH] (now a cvar)
{
UCVarValue value;
UCVarValue value;
static char one_hundred[] = "100";
value.String = Args.CheckValue ("-turbo");
if (value.String == NULL)
value.String = "100";
value.String = one_hundred;
else
Printf ("turbo scale: %s%%\n", value.String);