Skip to content

Commit deb3678

Browse files
samarahupritha-srivastava
authored andcommitted
rgw/redis: Remove unused lambda variable
Signed-off-by: Samarah <[email protected]>
1 parent f2a8454 commit deb3678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_redis_driver.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ Aio::OpFunc RedisDriver::redis_read_op(optional_yield y, std::shared_ptr<connect
572572
Aio::OpFunc RedisDriver::redis_write_op(optional_yield y, std::shared_ptr<connection> conn,
573573
const bufferlist& bl, uint64_t len, const rgw::sal::Attrs& attrs, const std::string& key)
574574
{
575-
return [y, conn, &bl, &len, &attrs, &key] (Aio* aio, AioResult& r) mutable {
575+
return [y, conn, &bl, &attrs, &key] (Aio* aio, AioResult& r) mutable {
576576
using namespace boost::asio;
577577
spawn::yield_context yield = y.get_yield_context();
578578
async_completion<spawn::yield_context, void()> init(yield);

0 commit comments

Comments
 (0)