Skip to content

Commit

Permalink
fix(tier4_autoware_utils): fix -Werror=unused-parameter (#6764)
Browse files Browse the repository at this point in the history
fix(tier4_autoware_utils): fix -Werror=unused-parameter

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
  • Loading branch information
satoshi-ota authored Apr 9, 2024
1 parent b98a21a commit d682442
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class InterProcessPollingSubscriber
noexec_subscription_options.callback_group = noexec_callback_group;

subscriber_ = node->create_subscription<T>(
topic_name, rclcpp::QoS{1}, [node](const typename T::ConstSharedPtr msg) { assert(false); },
topic_name, rclcpp::QoS{1},
[node]([[maybe_unused]] const typename T::ConstSharedPtr msg) { assert(false); },
noexec_subscription_options);
};
bool updateLatestData()
Expand Down

0 comments on commit d682442

Please sign in to comment.