diff --git a/opm/autodiff/BlackoilPropsAd.cpp b/opm/autodiff/BlackoilPropsAd.cpp index 50025ff16..6d323531d 100644 --- a/opm/autodiff/BlackoilPropsAd.cpp +++ b/opm/autodiff/BlackoilPropsAd.cpp @@ -898,7 +898,7 @@ namespace Opm } /// Update for max oil saturation. - void BlackoilPropsAd::updateSatOilMax(const std::vector& saturation) + void BlackoilPropsAd::updateSatOilMax(const std::vector& /*saturation*/) { OPM_THROW(std::logic_error, "BlackoilPropsAd class does not support this functionality."); } diff --git a/opm/autodiff/BlackoilPropsAdFromDeck.hpp b/opm/autodiff/BlackoilPropsAdFromDeck.hpp index 8042c4d4d..1672fa290 100644 --- a/opm/autodiff/BlackoilPropsAdFromDeck.hpp +++ b/opm/autodiff/BlackoilPropsAdFromDeck.hpp @@ -410,8 +410,8 @@ namespace Opm std::unique_ptr satprops_; PhaseUsage phase_usage_; - bool has_vapoil_; - bool has_disgas_; + // bool has_vapoil_; + // bool has_disgas_; // The PVT region which is to be used for each cell std::vector cellPvtRegionIdx_; diff --git a/opm/autodiff/GeoProps.hpp b/opm/autodiff/GeoProps.hpp index 93b8e7a92..75c037952 100644 --- a/opm/autodiff/GeoProps.hpp +++ b/opm/autodiff/GeoProps.hpp @@ -32,14 +32,14 @@ #include -#include "reenable_warning_pragmas.h" - #ifdef HAVE_DUNE_CORNERPOINT #include #include #include #endif +#include "reenable_warning_pragmas.h" + #include namespace Opm