]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix unused variable warning in ClientReadCompleter
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 23 Apr 2025 11:42:00 +0000 (11:42 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 13 Aug 2025 19:20:23 +0000 (19:20 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/ECCommon.cc

index 3b6ecb8f9e2e64d0b9dd8ddf102df67adced7b4e..3ef800dae914aa905281feba8405ce5a3d0b1466 100644 (file)
@@ -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;