From: Rudolf Polzer Date: Sun, 5 Jun 2011 17:21:31 +0000 (+0200) Subject: fix some more warnings X-Git-Tag: xonotic-v0.5.0~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dbaf1a8f003a2c48a8c0ccc2a89fccb4a96be054;p=xonotic%2Fnetradiant.git fix some more warnings --- diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index 80913321..42c04b8b 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -3204,7 +3204,7 @@ determines if two clusters are visible to each other using the PVS qboolean ClusterVisible( int a, int b ) { - int portalClusters, leafBytes; + int leafBytes; byte *pvs; @@ -3221,7 +3221,7 @@ qboolean ClusterVisible( int a, int b ) return qtrue; /* get pvs data */ - portalClusters = ((int *) bspVisBytes)[ 0 ]; + /* portalClusters = ((int *) bspVisBytes)[ 0 ]; */ leafBytes = ((int*) bspVisBytes)[ 1 ]; pvs = bspVisBytes + VIS_HEADER_SIZE + (a * leafBytes);