This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to tag 1.51
in repository iortcw.

commit 8c9d3709f80e4bfcb4262d96bc7252ed2346aebf
Author: MAN-AT-ARMS <m4n4t4...@gmail.com>
Date:   Thu May 25 11:35:09 2017 -0400

    All: Remove dead variables
---
 MP/code/qcommon/cm_patch.c | 5 ++---
 MP/code/qcommon/common.c   | 7 +------
 SP/code/qcommon/cm_patch.c | 5 ++---
 3 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/MP/code/qcommon/cm_patch.c b/MP/code/qcommon/cm_patch.c
index 784d5eb..b3a56ad 100644
--- a/MP/code/qcommon/cm_patch.c
+++ b/MP/code/qcommon/cm_patch.c
@@ -835,7 +835,7 @@ CM_AddFacetBevels
 void CM_AddFacetBevels( facet_t *facet ) {
 
        int i, j, k, l;
-       int axis, dir, order, flipped;
+       int axis, dir, flipped;
        float plane[4], d, newplane[4];
        winding_t *w, *w2;
        vec3_t mins, maxs, vec, vec2;
@@ -867,10 +867,9 @@ void CM_AddFacetBevels( facet_t *facet ) {
        WindingBounds( w, mins, maxs );
 
        // add the axial planes
-       order = 0;
        for ( axis = 0 ; axis < 3 ; axis++ )
        {
-               for ( dir = -1 ; dir <= 1 ; dir += 2, order++ )
+               for ( dir = -1 ; dir <= 1 ; dir += 2 )
                {
                        VectorClear( plane );
                        plane[axis] = dir;
diff --git a/MP/code/qcommon/common.c b/MP/code/qcommon/common.c
index a7b2925..10404ad 100644
--- a/MP/code/qcommon/common.c
+++ b/MP/code/qcommon/common.c
@@ -918,7 +918,6 @@ Z_FreeTags
 ================
 */
 void Z_FreeTags( int tag ) {
-       int count;
        memzone_t   *zone;
 
        if ( tag == TAG_SMALL ) {
@@ -926,13 +925,11 @@ void Z_FreeTags( int tag ) {
        } else {
                zone = mainzone;
        }
-       count = 0;
        // use the rover as our pointer, because
        // Z_Free automatically adjusts it
        zone->rover = zone->blocklist.next;
        do {
                if ( zone->rover->tag == tag ) {
-                       count++;
                        Z_Free( ( void * )( zone->rover + 1 ) );
                        continue;
                }
@@ -1286,7 +1283,7 @@ Com_Meminfo_f
 void Com_Meminfo_f( void ) {
        memblock_t  *block;
        int zoneBytes, zoneBlocks;
-       int smallZoneBytes, smallZoneBlocks;
+       int smallZoneBytes;
        int botlibBytes, rendererBytes;
        int unused;
 
@@ -1324,11 +1321,9 @@ void Com_Meminfo_f( void ) {
        }
 
        smallZoneBytes = 0;
-       smallZoneBlocks = 0;
        for ( block = smallzone->blocklist.next ; ; block = block->next ) {
                if ( block->tag ) {
                        smallZoneBytes += block->size;
-                       smallZoneBlocks++;
                }
 
                if ( block->next == &smallzone->blocklist ) {
diff --git a/SP/code/qcommon/cm_patch.c b/SP/code/qcommon/cm_patch.c
index 45e246d..f342e55 100644
--- a/SP/code/qcommon/cm_patch.c
+++ b/SP/code/qcommon/cm_patch.c
@@ -832,7 +832,7 @@ CM_AddFacetBevels
 void CM_AddFacetBevels( facet_t *facet ) {
 
        int i, j, k, l;
-       int axis, dir, order, flipped;
+       int axis, dir, flipped;
        float plane[4], d, newplane[4];
        winding_t *w, *w2;
        vec3_t mins, maxs, vec, vec2;
@@ -860,10 +860,9 @@ void CM_AddFacetBevels( facet_t *facet ) {
        WindingBounds( w, mins, maxs );
 
        // add the axial planes
-       order = 0;
        for ( axis = 0 ; axis < 3 ; axis++ )
        {
-               for ( dir = -1 ; dir <= 1 ; dir += 2, order++ )
+               for ( dir = -1 ; dir <= 1 ; dir += 2 )
                {
                        VectorClear( plane );
                        plane[axis] = dir;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to