From 7df516896d0cabb5d789f852877ae1472ada20d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 8 Jul 2015 12:37:11 +0200 Subject: [PATCH] Fix unused argument warnings. --- opm/core/props/satfunc/SatFuncMultiplexer.hpp | 2 +- opm/core/simulator/ExplicitArraysFluidState.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/props/satfunc/SatFuncMultiplexer.hpp b/opm/core/props/satfunc/SatFuncMultiplexer.hpp index 17cebb81..336b1098 100644 --- a/opm/core/props/satfunc/SatFuncMultiplexer.hpp +++ b/opm/core/props/satfunc/SatFuncMultiplexer.hpp @@ -92,7 +92,7 @@ public: // this operator does not do anything and is thus not a copy operator, but it is // required to make std::unique_ptr happy on old compilers - SatFuncMultiplexer& operator=(const SatFuncMultiplexer& other) + SatFuncMultiplexer& operator=(const SatFuncMultiplexer&) { return *this; } /*! diff --git a/opm/core/simulator/ExplicitArraysFluidState.hpp b/opm/core/simulator/ExplicitArraysFluidState.hpp index a12d7e02..0bf08278 100644 --- a/opm/core/simulator/ExplicitArraysFluidState.hpp +++ b/opm/core/simulator/ExplicitArraysFluidState.hpp @@ -80,7 +80,7 @@ public: /*! * \brief Returns the temperature [K] of a phase for the current cell index. */ - Scalar temperature(int phaseIdx) const + Scalar temperature(int /* phaseIdx */) const { return temperature_[arrayIdx_]; } // TODO (?) pressure, composition, etc