Mark 'comm' As Potentially Unused

The communicator is only needed in parallel builds.
This commit is contained in:
Bård Skaflestad 2021-10-10 20:38:45 +02:00
parent b6d043c545
commit 0f13f4095b

View File

@ -218,8 +218,8 @@ namespace {
}
std::shared_ptr<Opm::EclipseState>
createEclipseState(Opm::Parallel::Communication comm,
const Opm::Deck& deck)
createEclipseState([[maybe_unused]] Opm::Parallel::Communication comm,
const Opm::Deck& deck)
{
#if HAVE_MPI
return std::make_shared<Opm::ParallelEclipseState>(deck, comm);