From 4ea0a3f7be854a89c39f8c041255282d1ff95d05 Mon Sep 17 00:00:00 2001 From: Rainer Kartmann <rainer.kartmann@kit.edu> Date: Thu, 12 Sep 2019 09:05:31 +0200 Subject: [PATCH] Add (void) for unused arguments in unused report* methods --- .../RobotState/RobotStateComponent.cpp | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/source/RobotAPI/components/RobotState/RobotStateComponent.cpp b/source/RobotAPI/components/RobotState/RobotStateComponent.cpp index 7f1dafdba..b30dd3782 100644 --- a/source/RobotAPI/components/RobotState/RobotStateComponent.cpp +++ b/source/RobotAPI/components/RobotState/RobotStateComponent.cpp @@ -495,22 +495,30 @@ namespace armarx void RobotStateComponent::reportPlatformPose(const PlatformPose& currentPose, const Current&) { + // TODO implement. } - void RobotStateComponent::reportNewTargetPose(Float newPlatformPositionX, Float newPlatformPositionY, Float newPlatformRotation, const Current&) + void RobotStateComponent::reportNewTargetPose( + Float newPlatformPositionX, Float newPlatformPositionY, Float newPlatformRotation, + const Current&) { - + // Unused. + (void) newPlatformPositionX, (void) newPlatformPositionY, (void) newPlatformRotation; } - void RobotStateComponent::reportPlatformVelocity(Float currentPlatformVelocityX, Float currentPlatformVelocityY, Float currentPlatformVelocityRotation, const Current&) + void RobotStateComponent::reportPlatformVelocity( + Float currentPlatformVelocityX, Float currentPlatformVelocityY, Float currentPlatformVelocityRotation, + const Current&) { - + // Unused. + (void) currentPlatformVelocityX, (void) currentPlatformVelocityY, (void) currentPlatformVelocityRotation; } void RobotStateComponent::reportPlatformOdometryPose(Float x, Float y, Float angle, const Current&) { - + // Unused. + (void) x, (void) y, (void) angle; } std::vector<std::string> RobotStateComponent::getArmarXPackages(const Current&) const -- GitLab