fix some more warnings
authorRudolf Polzer <divverent@xonotic.org>
Sun, 5 Jun 2011 17:21:31 +0000 (19:21 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 5 Jun 2011 17:21:31 +0000 (19:21 +0200)
tools/quake3/q3map2/light_ydnar.c

index 8091332..42c04b8 100644 (file)
@@ -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);