diff --git a/corsika/detail/modules/pythia8/Decay.inl b/corsika/detail/modules/pythia8/Decay.inl index f3f743364bd37b2bca2c65d3418f59c3cad25bf0..81306df4509492448ba4425b1fd8e874f307ad41 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