LGTM: Remove superfluous conditional

This commit is contained in:
Chris Hennes
2021-02-08 09:28:31 -06:00
committed by wwmayer
parent 298004a39c
commit 15d4cac123

View File

@@ -123,7 +123,7 @@ int TopoShapeSolidPy::PyInit(PyObject* args, PyObject* /*kwd*/)
BRepBuilderAPI_MakeSolid mkSolid(compsolid);
TopoDS_Solid solid = mkSolid.Solid();
getTopoShapePtr()->setShape(solid);
} else if (count > 1) {
} else /*if (count > 1)*/ {
Standard_Failure::Raise("Only one compsolid can be accepted. Provided shape has more than one compsolid.");
}