Skip to content

Commit

Permalink
fix(tier4_localization_rviz_plugin): fix unmatchedSuppression (autowa…
Browse files Browse the repository at this point in the history
…refoundation#8919)

fix:unmatchedSuppression

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Sep 20, 2024
1 parent 583d856 commit 43373a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ PoseHistory::PoseHistory() : last_stamp_(0, 0, RCL_ROS_TIME)

PoseHistory::~PoseHistory() = default; // Properties are deleted by Qt

// cppcheck-suppress unusedFunction
void PoseHistory::onInitialize()
{
MFDClass::onInitialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,16 @@ void PoseWithCovarianceHistory::onInitialize()
lines_ = std::make_unique<rviz_rendering::BillboardLine>(scene_manager_, scene_node_);
}

// cppcheck-suppress unusedFunction
void PoseWithCovarianceHistory::onEnable()
{
subscribe();
}

// cppcheck-suppress unusedFunction
void PoseWithCovarianceHistory::onDisable()
{
unsubscribe();
}

// cppcheck-suppress unusedFunction
void PoseWithCovarianceHistory::update(float wall_dt, float ros_dt)
{
(void)wall_dt;
Expand Down Expand Up @@ -151,7 +148,6 @@ void PoseWithCovarianceHistory::update_shape_type()
property_arrow_color_->setHidden(!is_arrow);
}

// cppcheck-suppress unusedFunction
void PoseWithCovarianceHistory::processMessage(
const geometry_msgs::msg::PoseWithCovarianceStamped::ConstSharedPtr message)
{
Expand Down

0 comments on commit 43373a7

Please sign in to comment.