diff --git a/opm/models/blackoil/blackoilboundaryratevector.hh b/opm/models/blackoil/blackoilboundaryratevector.hh index 6c9449e2f..60c586801 100644 --- a/opm/models/blackoil/blackoilboundaryratevector.hh +++ b/opm/models/blackoil/blackoilboundaryratevector.hh @@ -251,10 +251,10 @@ public: * conduction for energy. */ template - void setThermalFlow(const Context& context, - unsigned bfIdx, - unsigned timeIdx, - const FluidState& boundaryFluidState) + void setThermalFlow([[maybe_unused]] const Context& context, + [[maybe_unused]] unsigned bfIdx, + [[maybe_unused]] unsigned timeIdx, + [[maybe_unused]] const FluidState& boundaryFluidState) { // set the mass no-flow condition setNoFlow();