summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-11-07 14:17:05 +0000
committerBrian Paul <[email protected]>2002-11-07 14:17:05 +0000
commitcf1c860a344f5845ef8d3bf31b78a2d59d138bd0 (patch)
treea93e13b16f25343d13aab08bcf7ad8dd271106a1 /src/glu/sgi
parent8bfc9d71aa37fd0a741d88a4334eab793af0364d (diff)
surround fixedEdges decl by #ifndef NDEBUG / #endif
Diffstat (limited to 'src/glu/sgi')
-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 be3c3a130e3..f28fad4e506 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 ) {