diff options
author | Simon Howard | 2012-12-24 18:33:24 +0000 |
---|---|---|
committer | Simon Howard | 2012-12-24 18:33:24 +0000 |
commit | 9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99 (patch) | |
tree | 3910167086dad2dd1e21b0ba87f0ed6dda5bc2eb /src/hexen/po_man.c | |
parent | 73fd9adc1e23f711d249d4adc2389711304bd027 (diff) | |
download | chocolate-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/po_man.c')
-rw-r--r-- | src/hexen/po_man.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/hexen/po_man.c b/src/hexen/po_man.c index 4429c3e0..196f20d3 100644 --- a/src/hexen/po_man.c +++ b/src/hexen/po_man.c @@ -1119,10 +1119,8 @@ static boolean CheckMobjBlocking(seg_t * seg, polyobj_t * po) static void InitBlockMap(void) { int i; - int j; seg_t **segList; - int area; int leftX, rightX; int topY, bottomY; @@ -1158,8 +1156,8 @@ static void InitBlockMap(void) topY = (*segList)->v1->y; } } - area = ((rightX >> FRACBITS) - (leftX >> FRACBITS)) * - ((topY >> FRACBITS) - (bottomY >> FRACBITS)); +// area = ((rightX >> FRACBITS) - (leftX >> FRACBITS)) * +// ((topY >> FRACBITS) - (bottomY >> FRACBITS)); // fprintf(stdaux, "Area of Polyobj[%d]: %d\n", polyobjs[i].tag, area); // fprintf(stdaux, "\t[%d]\n[%d]\t\t[%d]\n\t[%d]\n", topY>>FRACBITS, |