diff --git a/dumux/porousmediumflow/fluxvariablescachefiller.hh b/dumux/porousmediumflow/fluxvariablescachefiller.hh index 6e53a931c154922e6a874790eb3de4a6b4794dc3..6f7b13970b7624b740c096a548cda690d3f0a18a 100644 --- a/dumux/porousmediumflow/fluxvariablescachefiller.hh +++ b/dumux/porousmediumflow/fluxvariablescachefiller.hh @@ -524,7 +524,7 @@ private: //! Solves the local systems and stores the result in the handles template< class InteractionVolume, class DataHandle> - void prepareDataHandle_(InteractionVolume& iv, DataHandle& handle, bool forceUpdate) + void prepareDataHandle_([[maybe_unused]] InteractionVolume& iv, [[maybe_unused]] DataHandle& handle, [[maybe_unused]] bool forceUpdate) { // (maybe) solve system subject to intrinsic permeability if constexpr (advectionEnabled)