From cff6f9ba0057e23e6a2c9788525e400b3973545f Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Wed, 15 Feb 2023 22:52:35 +0000 Subject: [PATCH] Remove incorrect nullness check --- src/plans_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }