summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-11-07 14:17:05 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-11-07 14:17:05 +0000
commitcf1c860a344f5845ef8d3bf31b78a2d59d138bd0 (patch)
treea93e13b16f25343d13aab08bcf7ad8dd271106a1 /src
parent8bfc9d71aa37fd0a741d88a4334eab793af0364d (diff)
downloadexternal_mesa3d-cf1c860a344f5845ef8d3bf31b78a2d59d138bd0.zip
external_mesa3d-cf1c860a344f5845ef8d3bf31b78a2d59d138bd0.tar.gz
external_mesa3d-cf1c860a344f5845ef8d3bf31b78a2d59d138bd0.tar.bz2
surround fixedEdges decl by #ifndef NDEBUG / #endif
Diffstat (limited to 'src')
-rw-r--r--src/glu/sgi/libtess/sweep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/glu/sgi/libtess/sweep.c b/src/glu/sgi/libtess/sweep.c
index be3c3a1..f28fad4 100644
--- a/src/glu/sgi/libtess/sweep.c
+++ b/src/glu/sgi/libtess/sweep.c
@@ -35,8 +35,8 @@
/*
** Author: Eric Veach, July 1994.
**
-** $Date: 2002/11/06 16:09:04 $ $Revision: 1.4 $
-** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/sweep.c,v 1.4 2002/11/06 16:09:04 brianp Exp $
+** $Date: 2002/11/07 14:17:05 $ $Revision: 1.5 $
+** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/sweep.c,v 1.5 2002/11/07 14:17:05 brianp Exp $
*/
#include "gluos.h"
@@ -1174,7 +1174,9 @@ static void InitEdgeDict( GLUtesselator *tess )
static void DoneEdgeDict( GLUtesselator *tess )
{
ActiveRegion *reg;
+#ifndef NDEBUG
int fixedEdges = 0;
+#endif
/* __GL_DICTLISTKEY */ /* __GL_DICTLISTMIN */
while( (reg = (ActiveRegion *)dictKey( dictMin( tess->dict ))) != NULL ) {