diff --git a/bin/genEvalSpecializations.py b/bin/genEvalSpecializations.py index 2e63592d9..f135144e5 100755 --- a/bin/genEvalSpecializations.py +++ b/bin/genEvalSpecializations.py @@ -374,7 +374,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation.hpp b/opm/material/densead/Evaluation.hpp index ce20a553f..9cffaf5f3 100644 --- a/opm/material/densead/Evaluation.hpp +++ b/opm/material/densead/Evaluation.hpp @@ -183,7 +183,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation1.hpp b/opm/material/densead/Evaluation1.hpp index 67f0c2d5e..77b49b557 100644 --- a/opm/material/densead/Evaluation1.hpp +++ b/opm/material/densead/Evaluation1.hpp @@ -174,7 +174,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation10.hpp b/opm/material/densead/Evaluation10.hpp index 4b479c30f..051623505 100644 --- a/opm/material/densead/Evaluation10.hpp +++ b/opm/material/densead/Evaluation10.hpp @@ -183,7 +183,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation11.hpp b/opm/material/densead/Evaluation11.hpp index f3d2e820f..8a1fda3e1 100644 --- a/opm/material/densead/Evaluation11.hpp +++ b/opm/material/densead/Evaluation11.hpp @@ -184,7 +184,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation12.hpp b/opm/material/densead/Evaluation12.hpp index 3be86d5e2..c52ebeecd 100644 --- a/opm/material/densead/Evaluation12.hpp +++ b/opm/material/densead/Evaluation12.hpp @@ -185,7 +185,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation2.hpp b/opm/material/densead/Evaluation2.hpp index c8f45c2dd..4c489df20 100644 --- a/opm/material/densead/Evaluation2.hpp +++ b/opm/material/densead/Evaluation2.hpp @@ -175,7 +175,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation3.hpp b/opm/material/densead/Evaluation3.hpp index d1fecbb44..dc0803420 100644 --- a/opm/material/densead/Evaluation3.hpp +++ b/opm/material/densead/Evaluation3.hpp @@ -176,7 +176,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation4.hpp b/opm/material/densead/Evaluation4.hpp index 61b81ca7f..9ca129509 100644 --- a/opm/material/densead/Evaluation4.hpp +++ b/opm/material/densead/Evaluation4.hpp @@ -177,7 +177,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation5.hpp b/opm/material/densead/Evaluation5.hpp index a2dd0d66d..a8d04e38e 100644 --- a/opm/material/densead/Evaluation5.hpp +++ b/opm/material/densead/Evaluation5.hpp @@ -178,7 +178,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation6.hpp b/opm/material/densead/Evaluation6.hpp index 5f2df05bb..bf1dc20a0 100644 --- a/opm/material/densead/Evaluation6.hpp +++ b/opm/material/densead/Evaluation6.hpp @@ -179,7 +179,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation7.hpp b/opm/material/densead/Evaluation7.hpp index 7fb83e2c8..5822372f4 100644 --- a/opm/material/densead/Evaluation7.hpp +++ b/opm/material/densead/Evaluation7.hpp @@ -180,7 +180,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation8.hpp b/opm/material/densead/Evaluation8.hpp index 9b2657afe..360faf6cc 100644 --- a/opm/material/densead/Evaluation8.hpp +++ b/opm/material/densead/Evaluation8.hpp @@ -181,7 +181,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/densead/Evaluation9.hpp b/opm/material/densead/Evaluation9.hpp index ff38db66b..2e4fe030a 100644 --- a/opm/material/densead/Evaluation9.hpp +++ b/opm/material/densead/Evaluation9.hpp @@ -182,7 +182,7 @@ public: } template - static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos) + static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos) { // copy function value and set all derivatives to 0, except for the variable // which is represented by the value (which is set to 1.0) diff --git a/opm/material/thermal/NullSolidEnergyLaw.hpp b/opm/material/thermal/NullSolidEnergyLaw.hpp index b950ff453..80d09c732 100644 --- a/opm/material/thermal/NullSolidEnergyLaw.hpp +++ b/opm/material/thermal/NullSolidEnergyLaw.hpp @@ -50,7 +50,7 @@ public: * This solid energy law simply returns 0. */ template - static Evaluation solidInternalEnergy(const Params& params, const FluidState& fluidState) + static Evaluation solidInternalEnergy(const Params& params OPM_UNUSED, const FluidState& fluidState OPM_UNUSED) { return 0.0; } }; } // namespace Opm