From 157d8e32e0b38d0e901738dc652ca11337e85ea9 Mon Sep 17 00:00:00 2001 From: icculus Date: Tue, 15 Sep 2009 02:58:38 +0000 Subject: Removed unused variables. CM_LeadArea() has no side effects, so those could go, too. Partially fixes Bugzilla #3782. git-svn-id: svn://svn.icculus.org/quake3/trunk@1611 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/server/sv_game.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'code/server') diff --git a/code/server/sv_game.c b/code/server/sv_game.c index 7bfbf03..fe78650 100644 --- a/code/server/sv_game.c +++ b/code/server/sv_game.c @@ -185,17 +185,14 @@ qboolean SV_inPVSIgnorePortals( const vec3_t p1, const vec3_t p2) { int leafnum; int cluster; - int area1, area2; byte *mask; leafnum = CM_PointLeafnum (p1); cluster = CM_LeafCluster (leafnum); - area1 = CM_LeafArea (leafnum); mask = CM_ClusterPVS (cluster); leafnum = CM_PointLeafnum (p2); cluster = CM_LeafCluster (leafnum); - area2 = CM_LeafArea (leafnum); if ( mask && (!(mask[cluster>>3] & (1<<(cluster&7)) ) ) ) return qfalse; -- cgit v1.2.3