diff --git a/src/opm/parser/eclipse/EclipseState/Schedule/Schedule.cpp b/src/opm/parser/eclipse/EclipseState/Schedule/Schedule.cpp index bb31761a9..0197649be 100644 --- a/src/opm/parser/eclipse/EclipseState/Schedule/Schedule.cpp +++ b/src/opm/parser/eclipse/EclipseState/Schedule/Schedule.cpp @@ -124,7 +124,7 @@ std::pair restart_info(const RestartIO::RstState * rst const Runspec &runspec, const ParseContext& parseContext, ErrorGuard& errors, - const Python& python, + [[maybe_unused]] const Python& python, const RestartIO::RstState * rst) : m_timeMap( deck , restart_info( rst )), m_oilvaporizationproperties( this->m_timeMap, OilVaporizationProperties(runspec.tabdims().getNumPVTTables()) ),