Remove incorrect nullness check

This commit is contained in:
Jonathan G Rennison 2023-02-15 22:52:35 +00:00
parent 8d1563a1ed
commit cff6f9ba00

View File

@ -192,7 +192,7 @@ struct Plan : PlanPool::PoolItem<&_plan_pool> {
PlanLine *NewLine() PlanLine *NewLine()
{ {
PlanLine *pl = new PlanLine(); PlanLine *pl = new PlanLine();
if (pl) this->lines.push_back(pl); this->lines.push_back(pl);
return pl; return pl;
} }