Skip to content

Commit fb6fd8d

Browse files
bathteayokobayu858
andauthored
fix(default_ad_api): fix unusedFunction (#8581)
* fix: unusedFunction Signed-off-by: bathteayo <105347690+bathteayo@users.noreply.github.com> * Revert "fix: unusedFunction" This reverts commit c70a36d. Signed-off-by: bathteayo <105347690+bathteayo@users.noreply.github.com> * fix: unusedFunction Signed-off-by: bathteayo <105347690+bathteayo@users.noreply.github.com> --------- Signed-off-by: bathteayo <105347690+bathteayo@users.noreply.github.com> Co-authored-by: kobayu858 <129580202+kobayu858@users.noreply.github.com>
1 parent 1827117 commit fb6fd8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/autoware_default_adapi/src/utils/topics.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
namespace autoware::default_adapi::utils
2424
{
2525

26+
// cppcheck-suppress-begin unusedFunction
2627
template <class MsgT>
2728
MsgT ignore_stamp(MsgT msg)
2829
{
2930
msg.stamp = rclcpp::Time(0, 0);
3031
return msg;
3132
};
33+
// cppcheck-suppress-end unusedFunction
3234

3335
template <class PubT, class MsgT, class FuncT>
3436
void notify(PubT & pub, std::optional<MsgT> & prev, const MsgT & curr, FuncT && ignore)

0 commit comments

Comments
 (0)