[TD] fix compiler warning about code duplication and unused variable

This commit is contained in:
Uwe
2023-03-10 01:44:19 +01:00
committed by WandererFan
parent 91f0688625
commit fb13cbf4b5

View File

@@ -1775,11 +1775,8 @@ TopoDS_Edge GeometryUtils::asCircle(TopoDS_Edge occEdge, bool& arc)
}
}
}
catch (const Standard_Failure& e) {
// return null shape to indicate that we could not make a circle from this bspline
return TopoDS_Edge();
}
catch (...) {
// return null shape to indicate that we could not make a circle from this bspline
return TopoDS_Edge();
}
return result;