From f095c552dcf396dc77acce94ec56392c77995eac Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Mon, 25 Jan 2021 21:58:00 +0100 Subject: [PATCH] maybe-unused --- corsika/detail/modules/energy_loss/BetheBlochPDG.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl index 52fc39825..cabb75f28 100644 --- a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl +++ b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl @@ -149,7 +149,7 @@ namespace corsika { p.getChargeNumber(), dX / 1_g * square(1_cm)); HEPEnergyType dE = getTotalEnergyLoss(p, dX); auto E = p.getEnergy(); - // const auto Ekin = E - p.getMass(); + [[maybe_unused]] const auto Ekin = E - p.getMass(); auto Enew = E + dE; CORSIKA_LOG_DEBUG("EnergyLoss dE={} MeV, E={} GeV, Ekin={} GeV, Enew={} GeV", dE / 1_MeV, E / 1_GeV, Ekin / 1_GeV, Enew / 1_GeV); -- GitLab