Skip to content

Commit 1f02262

Browse files
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 <[email protected]>
1 parent 00bae68 commit 1f02262

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/cls_log/test_cls_log.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ TEST_F(cls_log, trim_by_marker)
332332
utime_t start_time = ceph_clock_now();
333333
generate_log(ioctx, oid, 10, start_time, true);
334334

335-
utime_t zero_time;
336335
std::vector<cls_log_entry> log1;
337336
{
338337
list<cls_log_entry> entries;

0 commit comments

Comments
 (0)