From: John Mulligan Date: Sun, 25 Aug 2024 16:02:31 +0000 (-0400) Subject: test/cls_log: remove unused variable X-Git-Tag: v20.0.0~523^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1f02262bab3d637a74d87f6c3585209510eb6553;p=ceph.git 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 --- diff --git a/src/test/cls_log/test_cls_log.cc b/src/test/cls_log/test_cls_log.cc index f8c1a32494a10..91e38844deca5 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;