diff --git a/src/particles/pusher/PlasmaParticleAdvance.cpp b/src/particles/pusher/PlasmaParticleAdvance.cpp index 539d056c60..a3bd479152 100644 --- a/src/particles/pusher/PlasmaParticleAdvance.cpp +++ b/src/particles/pusher/PlasmaParticleAdvance.cpp @@ -29,7 +29,7 @@ template struct PlasmaMomentumDerivative; void AdvancePlasmaParticles (PlasmaParticleContainer& plasma, const Fields & fields, amrex::Vector const& gm, const bool temp_slice, - int const lev, int const current_N_level) + int const lev, [[maybe_unused]] int const current_N_level) { HIPACE_PROFILE("AdvancePlasmaParticles()"); using namespace amrex::literals;