]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
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 809133212bbde3ab0faa9625bbb9be7ec1c8e618..42c04b8b17ecdf31d8d8b8b378da0798686bc02a 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);