ref: c20db29bd6ca589d9cae06b72d7d4a1028a8009d
parent: a313277d47b7728312262a29f4deafe077576065
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 08:07:30 EDT 2018
Removing unused but set variables in rt_ted.c
--- a/rott/rt_ted.c
+++ b/rott/rt_ted.c
@@ -1129,7 +1129,6 @@
{
int i;
int total;
- byte * dummy;
int maxheapsize;
int newheap;
@@ -1199,7 +1198,6 @@
ticdelay=CACHETICDELAY;
for (i=1; i<cacheindex; i++)
{
- dummy=W_CacheLumpNum(cachelist[i].lump,cachelist[i].cachelevel, CvtForType(cachelist[i].type), 1);
total+=W_LumpLength(cachelist[i].lump);
newheap=Z_UsedHeap();
currentmem=(newheap*MAXLEDS)/maxheapsize;
@@ -1323,7 +1321,6 @@
{
for (i=1; i<cacheindex; i++)
{
- dummy=W_CacheLumpNum(cachelist[i].lump,cachelist[i].cachelevel, CvtForType(cachelist[i].type), 1);
DoLoadGameAction ();
}
ShutdownPreCache ();
@@ -3373,7 +3370,6 @@
int clockx,clocky;
int doornumber;
word touchx,
- tile,
touchy;
map = mapplanes[0];
@@ -3381,8 +3377,6 @@
for (j = 0; j < mapheight; j++)
for (i = 0; i < mapwidth; i++)
{
- tile = *map++;
-
if (MAPSPOT (i, j, 2))
{
if (IsDoor(i,j)==1)