Suppress warnings of various kinds.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-08-27 19:56:13 +02:00
parent 102881bff8
commit 971e01fdd7
3 changed files with 5 additions and 5 deletions

View File

@ -898,7 +898,7 @@ namespace Opm
} }
/// Update for max oil saturation. /// Update for max oil saturation.
void BlackoilPropsAd::updateSatOilMax(const std::vector<double>& saturation) void BlackoilPropsAd::updateSatOilMax(const std::vector<double>& /*saturation*/)
{ {
OPM_THROW(std::logic_error, "BlackoilPropsAd class does not support this functionality."); OPM_THROW(std::logic_error, "BlackoilPropsAd class does not support this functionality.");
} }

View File

@ -410,8 +410,8 @@ namespace Opm
std::unique_ptr<SaturationPropsInterface> satprops_; std::unique_ptr<SaturationPropsInterface> satprops_;
PhaseUsage phase_usage_; PhaseUsage phase_usage_;
bool has_vapoil_; // bool has_vapoil_;
bool has_disgas_; // bool has_disgas_;
// The PVT region which is to be used for each cell // The PVT region which is to be used for each cell
std::vector<int> cellPvtRegionIdx_; std::vector<int> cellPvtRegionIdx_;

View File

@ -32,14 +32,14 @@
#include <Eigen/Eigen> #include <Eigen/Eigen>
#include "reenable_warning_pragmas.h"
#ifdef HAVE_DUNE_CORNERPOINT #ifdef HAVE_DUNE_CORNERPOINT
#include <dune/common/version.hh> #include <dune/common/version.hh>
#include <dune/grid/CpGrid.hpp> #include <dune/grid/CpGrid.hpp>
#include <dune/grid/common/mcmgmapper.hh> #include <dune/grid/common/mcmgmapper.hh>
#endif #endif
#include "reenable_warning_pragmas.h"
#include <cstddef> #include <cstddef>
namespace Opm namespace Opm