From: Guido Kanschat Date: Mon, 24 Aug 2015 11:33:14 +0000 (+0200) Subject: eliminate two compiler warnings X-Git-Tag: v8.4.0-rc2~554^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99cf501709c6f207c80f9b3e53ff8137d7e50fe4;p=dealii.git eliminate two compiler warnings --- 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(),