a var was declared twice in the same function, just removing the
authorKent Mein <mein@cs.umn.edu>
Tue, 26 Jun 2007 18:15:45 +0000 (18:15 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 26 Jun 2007 18:15:45 +0000 (18:15 +0000)
second declaration.

Kent

intern/boolop/intern/BOP_BSPNode.cpp

index 646e8c22bd36d70b4ea8ff76150f794e3a2c3484..68a20d7a5a42edc5ed7925e7baac04bca72fe9b6 100644 (file)
@@ -98,7 +98,7 @@ unsigned int BOP_BSPNode::addFace(BOP_BSPPoints pts,
                // classify each line segment, looking for endpoints which lie on different
                // sides of the hyperplane.
 
-               BOP_IT_BSPPoints ptsEnd = pts.end();
+               ptsEnd = pts.end();
                for(BOP_IT_BSPPoints itp=pts.begin();itp!=ptsEnd;itp++){
                        MT_Point3 npoint= *itp;
                        BOP_TAG ntag = testPoint(npoint);