From: Martin Kronbichler Date: Sat, 8 Jun 2019 19:31:29 +0000 (+0200) Subject: Avoid unused variable X-Git-Tag: v9.2.0-rc1~1437^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84f189da03babcc74bda7942b2065abb0984a822;p=dealii.git Avoid unused variable --- diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 50e6b1f64c..08b99293b5 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -5753,6 +5753,8 @@ namespace internal // general case const IndexSet index_set = dof_handler->locally_owned_mg_dofs(level); +#ifdef DEAL_II_WITH_MPI + constexpr int dim = DoFHandlerType::dimension; constexpr int spacedim = DoFHandlerType::space_dimension; const parallel::Triangulation *tr = @@ -5760,7 +5762,6 @@ namespace internal &this->dof_handler->get_triangulation())); Assert(tr != nullptr, ExcInternalError()); -#ifdef DEAL_II_WITH_MPI const unsigned int my_rank = Utilities::MPI::this_mpi_process(tr->get_communicator());