From 7cdb65cff39de921b24d89a21e9e07202451b940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 17 Feb 2015 13:41:00 +0100 Subject: [PATCH] Suppress unused argument warnings. --- opm/autodiff/BlackoilPropsAd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/autodiff/BlackoilPropsAd.cpp b/opm/autodiff/BlackoilPropsAd.cpp index e7da7df3f..436d7ca85 100644 --- a/opm/autodiff/BlackoilPropsAd.cpp +++ b/opm/autodiff/BlackoilPropsAd.cpp @@ -94,6 +94,7 @@ namespace Opm const double* BlackoilPropsAd::surfaceDensity(int regionIdx) const { // this class only supports a single PVT region for now... + static_cast(regionIdx); assert(regionIdx == 0); return props_.surfaceDensity(); } @@ -433,7 +434,7 @@ namespace Opm /// \param[in] cells Array of n cell indices to be associated with the pressure values. /// \return Array of n formation volume factor values. V BlackoilPropsAd::bGas(const V& pg, - const V& T, + const V& /* T */, const Cells& cells) const { if (!pu_.phase_used[Gas]) {