From b4707a89d0ae900c22acefc362be64c0c86b6e8a Mon Sep 17 00:00:00 2001
From: Vakho Tsulaia <vakhtang.tsulaia@cern.ch>
Date: Thu, 13 Feb 2025 06:52:55 +0100
Subject: [PATCH] MuonSensitiveDetectorsR4: fixed clang warnings

Unused variable
---
 .../MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx   | 5 +----
 .../MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx   | 6 +-----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx
index 866205dc5190..beb45a4d38df 100755
--- a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx
+++ b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx
@@ -21,9 +21,6 @@ using namespace MuonGMR4;
 using namespace CxxUtils;
 using namespace ActsTrk;
 
-namespace {
-   constexpr double tolerance = 10. * Gaudi::Units::micrometer;
-}
 // construction/destruction
 namespace MuonG4R4 {
 
@@ -186,4 +183,4 @@ const MuonGMR4::RpcReadoutElement* RpcSensitiveDetector::getReadoutElement(const
    }
    return readOutElem;
 }
-}
\ No newline at end of file
+}
diff --git a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx
index 391cef20b8b7..4b0e36b6b975 100644
--- a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx
+++ b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx
@@ -1,4 +1,3 @@
-
 /*
   Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
 */
@@ -20,9 +19,6 @@
 
 using namespace ActsTrk;
 
-namespace {
-   constexpr double tolerance = 10. * Gaudi::Units::micrometer;
-}
 // construction/destruction
 namespace MuonG4R4 {
 
@@ -170,4 +166,4 @@ Identifier TgcSensitiveDetector::getIdentifier(const ActsGeometryContext& gctx,
     return idHelper.channelID(readOutEle->identify(), gasGap, phiGap, 1);
 }
 
-}
\ No newline at end of file
+}
-- 
GitLab