From 9a0ff41221227f5f7c78a5255436570ba8e57705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 11 Aug 2015 09:20:35 +0200 Subject: [PATCH] Silence warnings. --- opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp | 4 ++-- tests/test_boprops_ad.cpp | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp b/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp index 681253a7f..0c0b59a57 100644 --- a/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp +++ b/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp @@ -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); diff --git a/tests/test_boprops_ad.cpp b/tests/test_boprops_ad.cpp index a345d399f..6fbb34130 100644 --- a/tests/test_boprops_ad.cpp +++ b/tests/test_boprops_ad.cpp @@ -26,9 +26,11 @@ #define BOOST_TEST_MODULE FluidPropertiesTest -#include - +#include #include +#include + +#include #include #include