eclproblem: anonymize unused parameters

This commit is contained in:
Arne Morten Kvarving 2021-05-26 14:18:44 +02:00
parent 9b2de5bbf9
commit 8ed738b188

View File

@ -734,10 +734,10 @@ public:
*/ */
static int handlePositionalParameter(std::set<std::string>& seenParams, static int handlePositionalParameter(std::set<std::string>& seenParams,
std::string& errorMsg, std::string& errorMsg,
int argc OPM_UNUSED, int,
const char** argv, const char** argv,
int paramIdx, int paramIdx,
int posParamIdx OPM_UNUSED) int)
{ {
using ParamsMeta = GetProp<TypeTag, Properties::ParameterMetaData>; using ParamsMeta = GetProp<TypeTag, Properties::ParameterMetaData>;
Dune::ParameterTree& tree = ParamsMeta::tree(); Dune::ParameterTree& tree = ParamsMeta::tree();
@ -773,7 +773,7 @@ public:
/*! /*!
* \copydoc FvBaseProblem::helpPreamble * \copydoc FvBaseProblem::helpPreamble
*/ */
static std::string helpPreamble(int argc OPM_UNUSED, static std::string helpPreamble(int,
const char **argv) const char **argv)
{ {
std::string desc = Implementation::briefDescription(); std::string desc = Implementation::briefDescription();
@ -1642,9 +1642,9 @@ public:
*/ */
template <class Context> template <class Context>
const SolidEnergyLawParams& const SolidEnergyLawParams&
solidEnergyLawParams(const Context& context OPM_UNUSED, solidEnergyLawParams(const Context& context,
unsigned spaceIdx OPM_UNUSED, unsigned spaceIdx,
unsigned timeIdx OPM_UNUSED) const unsigned timeIdx) const
{ {
unsigned globalSpaceIdx = context.globalSpaceIndex(spaceIdx, timeIdx); unsigned globalSpaceIdx = context.globalSpaceIndex(spaceIdx, timeIdx);
return thermalLawManager_->solidEnergyLawParams(globalSpaceIdx); return thermalLawManager_->solidEnergyLawParams(globalSpaceIdx);