ref: 621d494902a1330dea631dbcad54d772637e41ac
parent: 6451a61845d208a6077cc489a737098586cd7826
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 07:51:38 EDT 2018
Removing unused but set variables in rt_main.c
--- a/rott/rt_main.c
+++ b/rott/rt_main.c
@@ -264,15 +264,12 @@
// }
if (standalone==false)
{
- int status1 = 0;
int status2 = 0;
- int status3 = 0;
if ( !NoSound && !IS8250 )
{
if (!quiet)
printf( "MU_Startup: " );
- status1 = MU_Startup(false);
if (!quiet)
printf( "%s\n", MUSIC_ErrorString( MUSIC_Error ) );
}
@@ -301,7 +298,6 @@
{
if (!quiet)
printf( "SD_Startup: " );
- status3 = SD_Startup(false);
if (!quiet)
printf( "%s\n", FX_ErrorString( FX_Error ) );
}
@@ -1060,7 +1056,6 @@
void GameLoop (void)
{
boolean done = false;
- boolean loadit = false;
int NextLevel;
wami(1);
@@ -1328,7 +1323,7 @@
break;
case ex_died:
- loadit = done = false;
+ done = false;
// SetTextMode ( ); //12345678
Died ();
StopWind();
@@ -1636,7 +1631,6 @@
#if (DEVELOPMENT == 1)
int temp;
#else
- byte *txtscn;
#endif
MU_FadeOut(200);
@@ -1685,14 +1679,6 @@
printf("LIGHTRATE =%ld\n",GetLightRateTile());
printf("\nCENTERY=%ld\n",centery);
#else
-#if (SHAREWARE==0)
- txtscn = (byte *) W_CacheLumpNum (W_GetNumForName ("regend"), PU_CACHE, CvtNull, 1);
-#else
- txtscn = (byte *) W_CacheLumpNum (W_GetNumForName ("shareend"), PU_CACHE, CvtNull, 1);
-#endif
-#if defined (ANSIESC)
- DisplayTextSplash (txtscn, 25);
-#endif
#if (DEBUG == 1)
px = ERRORVERSIONCOL;