Skip to content

Commit 2035873

Browse files
authored
fix(autoware_scenario_selector): fix bugprone-branch-clone (#9699)
fix: bugprone-error Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
1 parent 75fde99 commit 2035873

File tree

1 file changed

+1
-2
lines changed
  • planning/autoware_scenario_selector/src

1 file changed

+1
-2
lines changed

planning/autoware_scenario_selector/src/node.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,8 @@ std::string ScenarioSelectorNode::selectScenarioByPosition()
156156
return tier4_planning_msgs::msg::Scenario::LANEDRIVING;
157157
} else if (is_in_parking_lot) {
158158
return tier4_planning_msgs::msg::Scenario::PARKING;
159-
} else {
160-
return tier4_planning_msgs::msg::Scenario::LANEDRIVING;
161159
}
160+
return tier4_planning_msgs::msg::Scenario::LANEDRIVING;
162161
}
163162

164163
if (current_scenario_ == tier4_planning_msgs::msg::Scenario::LANEDRIVING) {

0 commit comments

Comments
 (0)