From 1f02262bab3d637a74d87f6c3585209510eb6553 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Sun, 25 Aug 2024 12:02:31 -0400 Subject: [PATCH] test/cls_log: remove unused variable This line in the unit test get flagged by -Werror which is enabled by default when compiling the unit tests in a container based environment. Examining the code the warning appears correct and it should be enough to just remove this variable. Signed-off-by: John Mulligan --- src/test/cls_log/test_cls_log.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/cls_log/test_cls_log.cc b/src/test/cls_log/test_cls_log.cc index f8c1a32494a..91e38844dec 100644 --- a/src/test/cls_log/test_cls_log.cc +++ b/src/test/cls_log/test_cls_log.cc @@ -332,7 +332,6 @@ TEST_F(cls_log, trim_by_marker) utime_t start_time = ceph_clock_now(); generate_log(ioctx, oid, 10, start_time, true); - utime_t zero_time; std::vector log1; { list entries; -- 2.39.5