diff --git a/src/plans_base.h b/src/plans_base.h index 1e66bb366c..52bb30b479 100644 --- a/src/plans_base.h +++ b/src/plans_base.h @@ -192,7 +192,7 @@ struct Plan : PlanPool::PoolItem<&_plan_pool> { PlanLine *NewLine() { PlanLine *pl = new PlanLine(); - if (pl) this->lines.push_back(pl); + this->lines.push_back(pl); return pl; }