LGTM: [skip ci] fix: Empty branch of conditional
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code. Such blocks should contain an explanatory comment to aid future maintainers.
This commit is contained in:
@@ -953,6 +953,7 @@ bool ProfileBased::isEqualGeometry(const TopoDS_Shape& s1, const TopoDS_Shape& s
|
||||
}
|
||||
}
|
||||
else if (s1.ShapeType() == TopAbs_EDGE && s2.ShapeType() == TopAbs_EDGE) {
|
||||
// Do nothing here
|
||||
}
|
||||
else if (s1.ShapeType() == TopAbs_VERTEX && s2.ShapeType() == TopAbs_VERTEX) {
|
||||
gp_Pnt p1 = BRep_Tool::Pnt(TopoDS::Vertex(s1));
|
||||
|
||||
Reference in New Issue
Block a user