From 6a0682f1692f40d821736bb60b62675e173761c7 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Wed, 9 Aug 2023 16:56:01 -0400 Subject: [PATCH] Remove an unused variable from the events executor tests. (#2270) Signed-off-by: Chris Lalancette --- rclcpp/test/rclcpp/executors/test_events_executor.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/rclcpp/test/rclcpp/executors/test_events_executor.cpp b/rclcpp/test/rclcpp/executors/test_events_executor.cpp index 0d678438ed..fb5c9a5166 100644 --- a/rclcpp/test/rclcpp/executors/test_events_executor.cpp +++ b/rclcpp/test/rclcpp/executors/test_events_executor.cpp @@ -75,8 +75,6 @@ TEST_F(TestEventsExecutor, run_pub_sub) !spin_exited && (std::chrono::high_resolution_clock::now() - start < 1s)) { - auto time = std::chrono::high_resolution_clock::now() - start; - auto time_msec = std::chrono::duration_cast(time); std::this_thread::sleep_for(25ms); }