libtess2: fix unused variable warning when NDEBUG is activated

This commit is contained in:
Mathieu Virbel 2014-12-05 18:37:58 +01:00
parent 2cab4a141b
commit 58fbb294c2
1 changed files with 2 additions and 0 deletions

View File

@ -1134,7 +1134,9 @@ static void InitEdgeDict( TESStesselator *tess )
static void DoneEdgeDict( TESStesselator *tess )
{
ActiveRegion *reg;
#ifndef NDEBUG
int fixedEdges = 0;
#endif
while( (reg = (ActiveRegion *)dictKey( dictMin( tess->dict ))) != NULL ) {
/*