From 58fbb294c2ca865c63f03f48c5fcbc5e7c4d69c9 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Fri, 5 Dec 2014 18:37:58 +0100 Subject: [PATCH] libtess2: fix unused variable warning when NDEBUG is activated --- kivy/lib/libtess2/Source/sweep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivy/lib/libtess2/Source/sweep.c b/kivy/lib/libtess2/Source/sweep.c index 73da93532..6ce6ebba5 100755 --- a/kivy/lib/libtess2/Source/sweep.c +++ b/kivy/lib/libtess2/Source/sweep.c @@ -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 ) { /*