]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Silence some unused variable warnings. 9122/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 2 Dec 2019 16:04:49 +0000 (11:04 -0500)
committerDavid Wells <drwells@email.unc.edu>
Mon, 2 Dec 2019 16:04:49 +0000 (11:04 -0500)
source/particles/particle_handler.cc

index 2d8949147285d02be5d6784731963453f88923e0..4709d909f07719b690d9563e38a14cb59e098644 100644 (file)
@@ -1125,6 +1125,7 @@ namespace Particles
         const_cast<parallel::distributed::Triangulation<dim, spacedim> *>(
           dynamic_cast<const parallel::distributed::Triangulation<dim, spacedim>
                          *>(&(*triangulation)));
+    (void)non_const_triangulation;
 
     Assert(non_const_triangulation != nullptr, dealii::ExcNotImplemented());
 
@@ -1165,6 +1166,7 @@ namespace Particles
         const_cast<parallel::distributed::Triangulation<dim, spacedim> *>(
           dynamic_cast<const parallel::distributed::Triangulation<dim, spacedim>
                          *>(&(*triangulation)));
+    (void)non_const_triangulation;
 
     Assert(non_const_triangulation != nullptr, dealii::ExcNotImplemented());
 

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.