]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning about an unused argument. 3095/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Sep 2016 22:50:45 +0000 (16:50 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Sep 2016 22:50:45 +0000 (16:50 -0600)
source/distributed/tria_base.cc

index 6ab0594fd394ebd363972cb234a29a136bc58512..15020f7b1177d0ca6d25a7ec2a6e76333de19814 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2015 by the deal.II authors
+// Copyright (C) 2015, 2016 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -55,11 +55,15 @@ namespace parallel
     number_cache.n_locally_owned_active_cells.resize (n_subdomains);
   }
 
+
+
   template <int dim, int spacedim>
   void
-  Triangulation<dim,spacedim>::copy_triangulation (const dealii::Triangulation<dim, spacedim> &other_tria)
+  Triangulation<dim,spacedim>::
+  copy_triangulation (const dealii::Triangulation<dim, spacedim> &other_tria)
   {
 #ifndef DEAL_II_WITH_MPI
+    (void)other_tria;
     Assert(false, ExcMessage("You compiled deal.II without MPI support, for "
                              "which parallel::Triangulation is not available."));
 #else

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.