Skip to content

Commit f96271c

Browse files
committed
fix assign after return
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
1 parent c082d5b commit f96271c

File tree

1 file changed

+1
-1
lines changed
  • planning/motion_velocity_planner/autoware_motion_velocity_planner_node/src

1 file changed

+1
-1
lines changed

planning/motion_velocity_planner/autoware_motion_velocity_planner_node/src/node.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ bool MotionVelocityPlannerNode::update_planner_data()
131131
constexpr auto throttle_duration = 3000; // [ms]
132132
if (!ptr) {
133133
RCLCPP_INFO_THROTTLE(get_logger(), clock, throttle_duration, log);
134-
return false;
135134
is_ready = false;
135+
return false;
136136
}
137137
return true;
138138
};

0 commit comments

Comments
 (0)