summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/p_doors.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
commit67f215032d8bab2571aad2da739d72512c064ca4 (patch)
treeb39689b5947f0522ca16fd79900906981951cd8f /apps/plugins/doom/p_doors.c
parentab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff)
downloadrockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.gz
rockbox-67f215032d8bab2571aad2da739d72512c064ca4.zip
Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/p_doors.c')
-rw-r--r--apps/plugins/doom/p_doors.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/doom/p_doors.c b/apps/plugins/doom/p_doors.c
index 0b6d777e17..750b3474bd 100644
--- a/apps/plugins/doom/p_doors.c
+++ b/apps/plugins/doom/p_doors.c
@@ -434,7 +434,6 @@ int EV_VerticalDoor
434 mobj_t* thing ) 434 mobj_t* thing )
435{ 435{
436 player_t* player; 436 player_t* player;
437 int secnum;
438 sector_t* sec; 437 sector_t* sec;
439 vldoor_t* door; 438 vldoor_t* door;
440 439
@@ -492,7 +491,6 @@ int EV_VerticalDoor
492 491
493 // get the sector on the second side of activating linedef 492 // get the sector on the second side of activating linedef
494 sec = sides[line->sidenum[1]].sector; 493 sec = sides[line->sidenum[1]].sector;
495 secnum = sec-sectors;
496 494
497 /* if door already has a thinker, use it 495 /* if door already has a thinker, use it
498 * cph 2001/04/05 - 496 * cph 2001/04/05 -