commitlog: allocate_segment_ex: filename capture is unused

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2020-07-16 20:23:57 +03:00
parent 09a71ccd84
commit 22c384c2e9

View File

@@ -1356,7 +1356,7 @@ future<db::commitlog::segment_manager::sseg_ptr> db::commitlog::segment_manager:
} else {
fut = f.truncate(max_size);
}
return fut.then([this, d, f, filename] () mutable {
return fut.then([this, d, f] () mutable {
auto s = make_shared<segment>(shared_from_this(), d, std::move(f));
return make_ready_future<sseg_ptr>(s);
});