Fixed dead store analyzer warnings
Removed redundant assignments to local variables that were flagged by Xcode’s static analyzer as dead stores.
diff --git a/Source/mesh.c b/Source/mesh.c
index 06a8ced..9c24d5b 100755
--- a/Source/mesh.c
+++ b/Source/mesh.c
@@ -793,7 +793,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;
@@ -808,7 +807,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;
@@ -823,7 +821,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 );