summaryrefslogtreecommitdiff
path: root/src/hexen/p_doors.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/hexen/p_doors.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/hexen/p_doors.c')
-rw-r--r--src/hexen/p_doors.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hexen/p_doors.c b/src/hexen/p_doors.c
index 8193b4ab..92ccec8a 100644
--- a/src/hexen/p_doors.c
+++ b/src/hexen/p_doors.c
@@ -206,7 +206,6 @@ int EV_DoDoor(line_t * line, byte * args, vldoor_e type)
//==================================================================
boolean EV_VerticalDoor(line_t * line, mobj_t * thing)
{
- int secnum;
sector_t *sec;
vldoor_t *door;
int side;
@@ -215,7 +214,6 @@ boolean EV_VerticalDoor(line_t * line, mobj_t * thing)
// if the sector has an active thinker, use it
sec = sides[line->sidenum[side ^ 1]].sector;
- secnum = sec - sectors;
if (sec->specialdata)
{
return false;