diff --git a/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl b/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl
index b7b288dd2105579e80706c6fee73770d4cf26c72..d99c779c0d7cd0014a265310792bf1f4c87aaafd 100644
--- a/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl
+++ b/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl
@@ -81,7 +81,7 @@ namespace corsika {
 
       if (gyroradius > 1e9_m) {
         // this cannot be really unit-tested. It is hidden. LCOV_EXCL_START
-        CORSIKA_LOG_WARN(
+        CORSIKA_LOG_DEBUG(
             "CurvedLeapFrog is not very stable for extremely high gyroradius steps. "
             "Rg={} -> straight tracking.",
             gyroradius);
diff --git a/tests/framework/testCascade.cpp b/tests/framework/testCascade.cpp
index 482e684556254abec1f3943da9682c5738cd6282..c6aff27cf29a59676d1b448ceb08c2ff8c92ad19 100644
--- a/tests/framework/testCascade.cpp
+++ b/tests/framework/testCascade.cpp
@@ -153,7 +153,8 @@ public:
   }
 
   template <typename TView>
-  void doInteraction(TView& view, Code, Code, FourMomentum const&, FourMomentum const&) {
+  void doInteraction([[maybe_unused]] TView& view, Code, Code, FourMomentum const&,
+                     FourMomentum const&) {
     FAIL("doInteraction of ProcessZero has been called! This should never happen.");
   }
 };
@@ -166,7 +167,7 @@ public:
       : maxCalls_(maxCalls){};
 
   template <typename D>
-  ProcessReturn doContinuous(Step<D>& d, bool flag) {
+  ProcessReturn doContinuous([[maybe_unused]] Step<D>& d, [[maybe_unused]] bool flag) {
     if (++calls_ == maxCalls_) return ProcessReturn::ParticleAbsorbed;
     return ProcessReturn::Ok;
   }