tell the compiler about intentionally unused parameters to keep it quiet

This commit is contained in:
Wojciech Kwolek 2021-05-14 12:00:10 +00:00
parent 02adf17947
commit 71dbeb6b85

View File

@ -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
{
UNUSED(request);
UNUSED(response);
RCLCPP_INFO(this->get_logger(), "stop");
rclcpp::shutdown();
}