From 71dbeb6b85b7e8c1b5a8a9cd2a9c311352346d5e Mon Sep 17 00:00:00 2001 From: Wojciech Kwolek Date: Fri, 14 May 2021 12:00:10 +0000 Subject: [PATCH] tell the compiler about intentionally unused parameters to keep it quiet --- src/ros2aria/src/ros2aria.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ros2aria/src/ros2aria.cpp b/src/ros2aria/src/ros2aria.cpp index 8553328..334203f 100644 --- a/src/ros2aria/src/ros2aria.cpp +++ b/src/ros2aria/src/ros2aria.cpp @@ -40,6 +40,8 @@ Ros2Aria::~Ros2Aria() void Ros2Aria::stop(const std::shared_ptr request, std::shared_ptr response) const { + UNUSED(request); + UNUSED(response); RCLCPP_INFO(this->get_logger(), "stop"); rclcpp::shutdown(); } \ No newline at end of file