tell the compiler about intentionally unused parameters to keep it quiet
This commit is contained in:
parent
02adf17947
commit
71dbeb6b85
@ -40,6 +40,8 @@ Ros2Aria::~Ros2Aria()
|
|||||||
|
|
||||||
void Ros2Aria::stop(const std::shared_ptr<std_srvs::srv::Empty::Request> request, std::shared_ptr<std_srvs::srv::Empty::Response> response) const
|
void Ros2Aria::stop(const std::shared_ptr<std_srvs::srv::Empty::Request> request, std::shared_ptr<std_srvs::srv::Empty::Response> response) const
|
||||||
{
|
{
|
||||||
|
UNUSED(request);
|
||||||
|
UNUSED(response);
|
||||||
RCLCPP_INFO(this->get_logger(), "stop");
|
RCLCPP_INFO(this->get_logger(), "stop");
|
||||||
rclcpp::shutdown();
|
rclcpp::shutdown();
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user