[Path] Area.cpp: remove redundant nullptr check

This commit is contained in:
Uwe
2022-10-03 04:22:40 +02:00
parent ab1951d099
commit c327217dc3

View File

@@ -3041,7 +3041,7 @@ std::list<TopoDS_Shape> Area::sortWires(const std::list<TopoDS_Shape>& shapes,
gp_Pnt pstart, pend;
if (_pstart)
pstart = *_pstart;
bool use_bound = !has_start || _pstart == nullptr;
bool use_bound = !has_start || !_pstart;
//Second stage, group shape by its plane, and find overall boundary