From b18ba842ac4da830b4cf4f1a515649613de71570 Mon Sep 17 00:00:00 2001 From: Stevedan Ogochukwu Omodolor <61468301+stevedanomodolor@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:33:16 +0200 Subject: [PATCH] Update a_star.cpp Remove need for void --- nav2_smac_planner/src/a_star.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/nav2_smac_planner/src/a_star.cpp b/nav2_smac_planner/src/a_star.cpp index 6a7e3fcc8b..e4bb50d2d9 100644 --- a/nav2_smac_planner/src/a_star.cpp +++ b/nav2_smac_planner/src/a_star.cpp @@ -195,7 +195,6 @@ void AStarAlgorithm::setGoal( const unsigned int & dim_3, const GoalHeadingMode & /*goal_heading_mode*/) { - (void) goal_heading_mode; if (dim_3 != 0) { throw std::runtime_error("Node type Node2D cannot be given non-zero goal dim 3."); }