From eb3a3bb3a70e6674f6e23a88dd1b2b86551efda2 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Wed, 23 Apr 2025 11:42:00 +0000 Subject: [PATCH] osd: fix unused variable warning in ClientReadCompleter Signed-off-by: Radoslaw Zarzynski --- src/osd/ECCommon.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osd/ECCommon.cc b/src/osd/ECCommon.cc index 3b6ecb8f9e2e..3ef800dae914 100644 --- a/src/osd/ECCommon.cc +++ b/src/osd/ECCommon.cc @@ -594,7 +594,9 @@ struct ClientReadCompleter final : ECCommon::ReadCompleter { const hobject_t &hoid, ECCommon::read_result_t &&res, ECCommon::read_request_t &req) override { +#ifndef WITH_CRIMSON auto *cct = read_pipeline.cct; +#endif dout(20) << __func__ << " completing hoid=" << hoid << " res=" << res << " req=" << req << dendl; extent_map result; -- 2.47.3