diff --git a/src/Mod/PartDesign/App/FeatureHole.cpp b/src/Mod/PartDesign/App/FeatureHole.cpp index 32c07f445e..18dbb723ec 100644 --- a/src/Mod/PartDesign/App/FeatureHole.cpp +++ b/src/Mod/PartDesign/App/FeatureHole.cpp @@ -2168,9 +2168,7 @@ TopoShape Hole::findHoles(std::vector &holes, { TopoShape result(0); - int i = 0; for(const auto &profileEdge : profileshape.getSubTopoShapes(TopAbs_EDGE)) { - ++i; Standard_Real c_start; Standard_Real c_end; TopoDS_Edge edge = TopoDS::Edge(profileEdge.getShape());