From 8ed738b188e6e4648be53b2869079d6316d455a3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 26 May 2021 14:18:44 +0200 Subject: [PATCH] eclproblem: anonymize unused parameters --- ebos/eclproblem.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 4ad200953..0a13fdff4 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -734,10 +734,10 @@ public: */ static int handlePositionalParameter(std::set& seenParams, std::string& errorMsg, - int argc OPM_UNUSED, + int, const char** argv, int paramIdx, - int posParamIdx OPM_UNUSED) + int) { using ParamsMeta = GetProp; Dune::ParameterTree& tree = ParamsMeta::tree(); @@ -773,7 +773,7 @@ public: /*! * \copydoc FvBaseProblem::helpPreamble */ - static std::string helpPreamble(int argc OPM_UNUSED, + static std::string helpPreamble(int, const char **argv) { std::string desc = Implementation::briefDescription(); @@ -1642,9 +1642,9 @@ public: */ template const SolidEnergyLawParams& - solidEnergyLawParams(const Context& context OPM_UNUSED, - unsigned spaceIdx OPM_UNUSED, - unsigned timeIdx OPM_UNUSED) const + solidEnergyLawParams(const Context& context, + unsigned spaceIdx, + unsigned timeIdx) const { unsigned globalSpaceIdx = context.globalSpaceIndex(spaceIdx, timeIdx); return thermalLawManager_->solidEnergyLawParams(globalSpaceIdx);