From 17303242c860cd0cbeb8bb7ed932d426724b5323 Mon Sep 17 00:00:00 2001 From: Tapish Date: Mon, 25 Nov 2024 11:17:29 +0100 Subject: [PATCH] Fix gcc 9 unused parameter error --- .../spawnFromSourceSpeciesModules/CacheEFieldForSuperCell.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/picongpu/particles/atomicPhysics/spawnFromSourceSpeciesModules/CacheEFieldForSuperCell.hpp b/include/picongpu/particles/atomicPhysics/spawnFromSourceSpeciesModules/CacheEFieldForSuperCell.hpp index a15e3bb301..45e98d587f 100644 --- a/include/picongpu/particles/atomicPhysics/spawnFromSourceSpeciesModules/CacheEFieldForSuperCell.hpp +++ b/include/picongpu/particles/atomicPhysics/spawnFromSourceSpeciesModules/CacheEFieldForSuperCell.hpp @@ -48,13 +48,13 @@ namespace picongpu::particles::atomicPhysics::spawnFromSourceSpeciesModules typename... T_IPDInputBoxes> HDINLINE static auto getCache( T_Worker const& worker, - pmacc::DataSpace const superCellIndex, + [[maybe_unused]] pmacc::DataSpace const superCellIndex, T_LocalTimeRemainingBox const, T_FoundUnboundIonBox const, T_ChargeStateDataBox const, T_AtomicStateDataBox const, T_IPDIonizationStateDataBox const, - T_EFieldDataBox const eFieldBox, + [[maybe_unused]] T_EFieldDataBox const eFieldBox, T_IPDInputBoxes const...) { if constexpr(T_fieldIonizationActive::value)