Merge pull request #431 from atgeirr/silence-warnings

Silence warnings.
This commit is contained in:
Atgeirr Flø Rasmussen
2015-08-14 14:04:10 +02:00
2 changed files with 6 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ namespace Opm
void writeTimeStep(const SimulatorTimerInterface& timer,
const SimulatorState& state,
const WellState&,
bool substep = false)
bool /*substep*/ = false)
{
outputStateVtk(grid_, state, timer.currentStepNum(), outputDir_);
}
@@ -164,7 +164,7 @@ namespace Opm
void writeTimeStep(const SimulatorTimerInterface& timer,
const SimulatorState& reservoirState,
const WellState& wellState,
bool substep = false)
bool /*substep*/ = false)
{
const BlackoilState* state =
dynamic_cast< const BlackoilState* > (&reservoirState);

View File

@@ -26,9 +26,11 @@
#define BOOST_TEST_MODULE FluidPropertiesTest
#include <opm/autodiff/BlackoilPropsAdFromDeck.hpp>
#include <opm/core/utility/platform_dependent/disable_warnings.h>
#include <boost/test/unit_test.hpp>
#include <opm/core/utility/platform_dependent/reenable_warnings.h>
#include <opm/autodiff/BlackoilPropsAdFromDeck.hpp>
#include <opm/core/grid/GridManager.hpp>
#include <opm/core/utility/Units.hpp>