From 99cf501709c6f207c80f9b3e53ff8137d7e50fe4 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Mon, 24 Aug 2015 13:33:14 +0200 Subject: [PATCH] eliminate two compiler warnings --- source/distributed/tria_base.cc | 2 +- source/dofs/dof_handler_policy.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index db6aa8ae99..d1b613afe0 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -72,7 +72,7 @@ namespace parallel template void - Triangulation::copy_triangulation (const dealii::Triangulation &old_tria) + Triangulation::copy_triangulation (const dealii::Triangulation &) { Assert (false, ExcNotImplemented()); } diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 8bc62e01e9..9209468334 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -1006,9 +1006,10 @@ namespace internal { #ifndef DEAL_II_WITH_MPI + (void)new_numbers; (void)dof_handler; + (void)number_cache; Assert (false, ExcNotImplemented()); - #else std::vector global_gathered_numbers (dof_handler.n_dofs (), 0); // as we call DoFRenumbering::subdomain_wise (dof_handler) from distribute_dofs(), -- 2.39.5