From d97bb168cf9990fa410ce71f4272482423e19f20 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 29 May 2022 00:25:20 -0400 Subject: [PATCH] lib/motion_planning: VelocitySmoothingTest delete set but not used variable --- src/lib/motion_planning/VelocitySmoothingTest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/motion_planning/VelocitySmoothingTest.cpp b/src/lib/motion_planning/VelocitySmoothingTest.cpp index d59fd9683d..2327406305 100644 --- a/src/lib/motion_planning/VelocitySmoothingTest.cpp +++ b/src/lib/motion_planning/VelocitySmoothingTest.cpp @@ -193,13 +193,11 @@ TEST_F(VelocitySmoothingTest, testZeroSetpoint) // AND: Zero setpoints Vector3f velocity_setpoints(0.f, 0.f, 0.f); - float t = 0.f; const float dt = 0.01f; // WHEN: We run a few times the algorithm for (int i = 0; i < 60; i++) { updateTrajectories(dt, velocity_setpoints); - t += dt; } // THEN: All the trajectories should still be zero