From 819ee5bbf23043655187f5b63de9f747a989d8e2 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Wed, 12 Jun 2019 15:08:31 +0200 Subject: [PATCH] Evaluation code generator: add a missing OPM_UNUSED thanks to [at]GitPaean for the catch! --- bin/genEvalSpecializations.py | 2 +- opm/material/densead/Evaluation.hpp | 2 +- opm/material/densead/Evaluation1.hpp | 2 +- opm/material/densead/Evaluation10.hpp | 2 +- opm/material/densead/Evaluation11.hpp | 2 +- opm/material/densead/Evaluation12.hpp | 2 +- opm/material/densead/Evaluation2.hpp | 2 +- opm/material/densead/Evaluation3.hpp | 2 +- opm/material/densead/Evaluation4.hpp | 2 +- opm/material/densead/Evaluation5.hpp | 2 +- opm/material/densead/Evaluation6.hpp | 2 +- opm/material/densead/Evaluation7.hpp | 2 +- opm/material/densead/Evaluation8.hpp | 2 +- opm/material/densead/Evaluation9.hpp | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bin/genEvalSpecializations.py b/bin/genEvalSpecializations.py index 6160557f6..d06dc2a60 100755 --- a/bin/genEvalSpecializations.py +++ b/bin/genEvalSpecializations.py @@ -412,7 +412,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation.hpp b/opm/material/densead/Evaluation.hpp index ec1fc08da..dba5b2a20 100644 --- a/opm/material/densead/Evaluation.hpp +++ b/opm/material/densead/Evaluation.hpp @@ -205,7 +205,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation1.hpp b/opm/material/densead/Evaluation1.hpp index 61c3bb2c7..879795ea0 100644 --- a/opm/material/densead/Evaluation1.hpp +++ b/opm/material/densead/Evaluation1.hpp @@ -196,7 +196,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation10.hpp b/opm/material/densead/Evaluation10.hpp index 0c9480ed3..ec80e8b89 100644 --- a/opm/material/densead/Evaluation10.hpp +++ b/opm/material/densead/Evaluation10.hpp @@ -205,7 +205,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation11.hpp b/opm/material/densead/Evaluation11.hpp index b43ee56f6..39fefafa2 100644 --- a/opm/material/densead/Evaluation11.hpp +++ b/opm/material/densead/Evaluation11.hpp @@ -206,7 +206,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation12.hpp b/opm/material/densead/Evaluation12.hpp index c96e22d3c..48245dec3 100644 --- a/opm/material/densead/Evaluation12.hpp +++ b/opm/material/densead/Evaluation12.hpp @@ -207,7 +207,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation2.hpp b/opm/material/densead/Evaluation2.hpp index 2f395c358..32b0a25a4 100644 --- a/opm/material/densead/Evaluation2.hpp +++ b/opm/material/densead/Evaluation2.hpp @@ -197,7 +197,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation3.hpp b/opm/material/densead/Evaluation3.hpp index 66b0cce36..d3f75798e 100644 --- a/opm/material/densead/Evaluation3.hpp +++ b/opm/material/densead/Evaluation3.hpp @@ -198,7 +198,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation4.hpp b/opm/material/densead/Evaluation4.hpp index 2517dc7d5..6783a1a6d 100644 --- a/opm/material/densead/Evaluation4.hpp +++ b/opm/material/densead/Evaluation4.hpp @@ -199,7 +199,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation5.hpp b/opm/material/densead/Evaluation5.hpp index 8f7e7c368..21d64b728 100644 --- a/opm/material/densead/Evaluation5.hpp +++ b/opm/material/densead/Evaluation5.hpp @@ -200,7 +200,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation6.hpp b/opm/material/densead/Evaluation6.hpp index ef53e0b17..aa41a2678 100644 --- a/opm/material/densead/Evaluation6.hpp +++ b/opm/material/densead/Evaluation6.hpp @@ -201,7 +201,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation7.hpp b/opm/material/densead/Evaluation7.hpp index d70860726..d123df47a 100644 --- a/opm/material/densead/Evaluation7.hpp +++ b/opm/material/densead/Evaluation7.hpp @@ -202,7 +202,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation8.hpp b/opm/material/densead/Evaluation8.hpp index 8dc1fa25d..d8635ac53 100644 --- a/opm/material/densead/Evaluation8.hpp +++ b/opm/material/densead/Evaluation8.hpp @@ -203,7 +203,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); } diff --git a/opm/material/densead/Evaluation9.hpp b/opm/material/densead/Evaluation9.hpp index 99d102c0e..9e54018d2 100644 --- a/opm/material/densead/Evaluation9.hpp +++ b/opm/material/densead/Evaluation9.hpp @@ -204,7 +204,7 @@ public: // "evaluate" a constant function (i.e. a function that does not depend on the set of // relevant variables, f(x) = c). template - static Evaluation createConstant(const Evaluation& x, const RhsValueType& value) + static Evaluation createConstant(const Evaluation& x OPM_UNUSED, const RhsValueType& value) { return Evaluation(value); }