summaryrefslogtreecommitdiff
path: root/src/strife/am_map.c
diff options
context:
space:
mode:
authorSimon Howard2012-12-24 18:33:24 +0000
committerSimon Howard2012-12-24 18:33:24 +0000
commit9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99 (patch)
tree3910167086dad2dd1e21b0ba87f0ed6dda5bc2eb /src/strife/am_map.c
parent73fd9adc1e23f711d249d4adc2389711304bd027 (diff)
downloadchocolate-doom-9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99.tar.gz
chocolate-doom-9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99.tar.bz2
chocolate-doom-9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99.zip
Fix compiler warnings by removing variables that are set but not used.
Subversion-branch: /branches/v2-branch Subversion-revision: 2555
Diffstat (limited to 'src/strife/am_map.c')
-rw-r--r--src/strife/am_map.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/strife/am_map.c b/src/strife/am_map.c
index 2e13d28f..e942e3ac 100644
--- a/src/strife/am_map.c
+++ b/src/strife/am_map.c
@@ -540,7 +540,8 @@ void AM_Stop (void)
//
void AM_Start (void)
{
- static int lastlevel = -1, lastepisode = -1;
+ static int lastlevel = -1;
+ //static int lastepisode = -1;
if (!stopped) AM_Stop();
stopped = false;
@@ -584,7 +585,6 @@ AM_Responder
{
int rc;
- static int cheatstate=0;
static int bigstate=0;
static char buffer[20];
int key;
@@ -681,7 +681,6 @@ AM_Responder
}
else
{
- cheatstate=0;
rc = false;
}