From 713c8d24dfdbf02af68610c143d9cf78f3ca2e29 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Wed, 9 Jun 2021 08:19:13 +0200
Subject: [PATCH] fix warnings

---
 corsika/detail/modules/pythia8/Decay.inl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corsika/detail/modules/pythia8/Decay.inl b/corsika/detail/modules/pythia8/Decay.inl
index f3f743364..81306df45 100644
--- a/corsika/detail/modules/pythia8/Decay.inl
+++ b/corsika/detail/modules/pythia8/Decay.inl
@@ -174,7 +174,7 @@ namespace corsika::pythia8 {
     auto const t0 = projectile.getTime();
 
     auto const& labMomentum = projectile.getMomentum();
-    CoordinateSystemPtr const& labCS = labMomentum.getCoordinateSystem();
+    [[maybe_unused]] CoordinateSystemPtr const& labCS = labMomentum.getCoordinateSystem();
 
     // define target kinematics in lab frame
     // define boost to and from CoM frame
-- 
GitLab