From deb367852f29e73f20d714eb59cd91099cd4fce3 Mon Sep 17 00:00:00 2001 From: Samarah Date: Tue, 5 Mar 2024 13:03:05 +0000 Subject: [PATCH] rgw/redis: Remove unused lambda variable Signed-off-by: Samarah --- src/rgw/rgw_redis_driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_redis_driver.cc b/src/rgw/rgw_redis_driver.cc index a1aca90c1a287..a07507b5454e7 100644 --- a/src/rgw/rgw_redis_driver.cc +++ b/src/rgw/rgw_redis_driver.cc @@ -572,7 +572,7 @@ Aio::OpFunc RedisDriver::redis_read_op(optional_yield y, std::shared_ptr conn, const bufferlist& bl, uint64_t len, const rgw::sal::Attrs& attrs, const std::string& key) { - return [y, conn, &bl, &len, &attrs, &key] (Aio* aio, AioResult& r) mutable { + return [y, conn, &bl, &attrs, &key] (Aio* aio, AioResult& r) mutable { using namespace boost::asio; spawn::yield_context yield = y.get_yield_context(); async_completion init(yield); -- 2.39.5