From 9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 24 Dec 2012 18:33:24 +0000 Subject: Fix compiler warnings by removing variables that are set but not used. Subversion-branch: /branches/v2-branch Subversion-revision: 2555 --- src/hexen/po_man.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/hexen/po_man.c') 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, -- cgit v1.2.3