diff --git a/opm/autodiff/BlackoilSolventState.cpp b/opm/autodiff/BlackoilSolventState.cpp index 681bd1ca2..90e8bccd7 100644 --- a/opm/autodiff/BlackoilSolventState.cpp +++ b/opm/autodiff/BlackoilSolventState.cpp @@ -28,7 +28,7 @@ namespace Opm : BlackoilState( number_of_cells , number_of_faces , number_of_phases) { registerCellData( SSOL , 1 ); - }; + } } // namespace Opm diff --git a/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp b/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp index 6c9a87901..83f855833 100644 --- a/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp +++ b/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp @@ -581,7 +581,6 @@ namespace Opm computePressureIncrement(const LinearisedBlackoilResidual& residual) { typedef LinearisedBlackoilResidual::ADB ADB; - typedef ADB::V V; // Build the vector of equations (should be just a single material balance equation // in which the pressure equation is stored). diff --git a/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp b/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp index 0d97a8749..e37d57562 100644 --- a/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp +++ b/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp @@ -462,8 +462,6 @@ namespace Opm const int reportStepNum, const bool log) { - typedef Opm::AutoDiffBlock ADB; - const typename Model::SimulatorData& sd = physicalModel.getSimulatorData(); //Get the value of each of the keys for the restart keywords std::map rstKeywords = restartConfig.getRestartKeywords(reportStepNum);