diff --git a/moveit_ros/moveit_servo/src/utils/common.cpp b/moveit_ros/moveit_servo/src/utils/common.cpp index e270dc76e3..971972dcd7 100644 --- a/moveit_ros/moveit_servo/src/utils/common.cpp +++ b/moveit_ros/moveit_servo/src/utils/common.cpp @@ -415,7 +415,6 @@ std::vector jointVariablesToHalt(const Eigen::VectorXd& positions, const std::vector variable_indices_to_halt; // Now get the scaling factor from joint velocity limits. - size_t joint_idx = 0; size_t variable_idx = 0; for (const auto& joint_bound : joint_bounds) {