From c559e348d48d025808b5bd39f89fa3f3862b102e Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Fri, 14 May 2021 13:55:12 +0200 Subject: [PATCH] anonymized unused parameters --- opm/models/utils/parametersystem.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/opm/models/utils/parametersystem.hh b/opm/models/utils/parametersystem.hh index 51d7f24fd..00f6a0b74 100644 --- a/opm/models/utils/parametersystem.hh +++ b/opm/models/utils/parametersystem.hh @@ -547,12 +547,12 @@ void printUsage(const std::string& helpPreamble, } /// \cond 0 -inline int noPositionalParameters_(std::set& seenParams OPM_UNUSED, +inline int noPositionalParameters_(std::set&, std::string& errorMsg, - int argc OPM_UNUSED, + int, const char** argv, int paramIdx, - int posParamIdx OPM_UNUSED) + int) { errorMsg = std::string("Illegal parameter \"")+argv[paramIdx]+"\"."; return 0; @@ -653,7 +653,7 @@ inline std::string parseQuotedValue_(std::string& s, const std::string& errorPre return result; } -inline std::string parseUnquotedValue_(std::string& s, const std::string& errorPrefix OPM_UNUSED) +inline std::string parseUnquotedValue_(std::string& s, const std::string&) { unsigned i; for (i = 0; i < s.size(); ++ i)