Merge pull request #19 from 1ec5/patch-1
Fixes for static analyzer warnings
diff --git a/Source/mesh.c b/Source/mesh.c
index 15ce620..a3565ab 100755
--- a/Source/mesh.c
+++ b/Source/mesh.c
@@ -872,7 +872,6 @@
TESSvertex *v, *vPrev;
TESShalfEdge *e, *ePrev;
- fPrev = fHead;
for( fPrev = fHead ; (f = fPrev->next) != fHead; fPrev = f) {
assert( f->prev == fPrev );
e = f->anEdge;
@@ -887,7 +886,6 @@
}
assert( f->prev == fPrev && f->anEdge == NULL );
- vPrev = vHead;
for( vPrev = vHead ; (v = vPrev->next) != vHead; vPrev = v) {
assert( v->prev == vPrev );
e = v->anEdge;
@@ -902,7 +900,6 @@
}
assert( v->prev == vPrev && v->anEdge == NULL );
- ePrev = eHead;
for( ePrev = eHead ; (e = ePrev->next) != eHead; ePrev = e) {
assert( e->Sym->next == ePrev->Sym );
assert( e->Sym != e );