Tag Potentially Unused Parameters as Maybe_Unused

We don't reference any of the input parameters unless we're running
a thermal simulation.
This commit is contained in:
Bård Skaflestad 2023-05-24 17:30:40 +02:00
parent 58f985a741
commit cae0866e60

View File

@ -251,10 +251,10 @@ public:
* conduction for energy.
*/
template <class Context, class FluidState>
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();