From 19ab4b466b1f81a6f03b8c5aad11035cbc2ebf14 Mon Sep 17 00:00:00 2001
From: Felix Weiglhofer <weiglhofer@fias.uni-frankfurt.de>
Date: Mon, 4 Jul 2022 14:02:46 +0000
Subject: [PATCH] L1: Fix unused variable warning.

---
 reco/L1/CbmL1.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/reco/L1/CbmL1.h b/reco/L1/CbmL1.h
index b0e37ea510..d75b79d2d4 100644
--- a/reco/L1/CbmL1.h
+++ b/reco/L1/CbmL1.h
@@ -5,11 +5,11 @@
 /*
  *====================================================================
  *
- *  CBM Level 1 Reconstruction 
- *  
+ *  CBM Level 1 Reconstruction
+ *
  *  Authors: I.Kisel,  S.Gorbunov
  *
- *  e-mail : ikisel@kip.uni-heidelberg.de 
+ *  e-mail : ikisel@kip.uni-heidelberg.de
  *
  *====================================================================
  *
@@ -181,7 +181,7 @@ public:
   void ApplyCorrectionToMaterialMap(L1Material& material, const L1MaterialInfo& homogenious)
   {
     // TODO: unify the correction function for all detectors
-    float minVal = 0.;
+    [[maybe_unused]] float minVal = 0.;
     if constexpr (detID == L1DetectorID::kMuch) { minVal = 0.15f; }
     else if constexpr (detID == L1DetectorID::kTof || detID == L1DetectorID::kTrd) {
       minVal = 0.0015f;
-- 
GitLab