[TD] fix compiler warning about code duplication and unused variable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user