]> https://gitweb.dealii.org/ - dealii.git/commitdiff
eliminate two compiler warnings 1423/head
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 24 Aug 2015 11:33:14 +0000 (13:33 +0200)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 24 Aug 2015 11:37:39 +0000 (13:37 +0200)
source/distributed/tria_base.cc
source/dofs/dof_handler_policy.cc

index db6aa8ae9987a60800fd6550fd7f82c66a9b72c6..d1b613afe01f6a26595034597d726b189e3c8304 100644 (file)
@@ -72,7 +72,7 @@ namespace parallel
 
   template <int dim, int spacedim>
   void
-  Triangulation<dim,spacedim>::copy_triangulation (const dealii::Triangulation<dim, spacedim> &old_tria)
+  Triangulation<dim,spacedim>::copy_triangulation (const dealii::Triangulation<dim, spacedim> &)
   {
     Assert (false, ExcNotImplemented());
   }
index 8bc62e01e914f020cef57bd75ea7800d4f951bc3..9209468334fb2206bfb1104f9a578f763d0de40d 100644 (file)
@@ -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<types::global_dof_index> global_gathered_numbers (dof_handler.n_dofs (), 0);
         // as we call DoFRenumbering::subdomain_wise (dof_handler) from distribute_dofs(),

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.