]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix two recently introduced warnings about unused variables. 1782/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 23 Oct 2015 20:46:44 +0000 (15:46 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 23 Oct 2015 20:46:44 +0000 (15:46 -0500)
include/deal.II/lac/sparse_mic.templates.h
source/grid/tria.cc

index 46df280943e6fea0f2329e629c846a3a7e912bf1..0a5de1aeed3e458bb1bbf8aabf583a0487b46649 100644 (file)
@@ -191,8 +191,8 @@ SparseMIC<number>::vmult (Vector<somenumber>       &dst,
 template <typename number>
 template <typename somenumber>
 void
-SparseMIC<number>::Tvmult (Vector<somenumber>       &dst,
-                           const Vector<somenumber> &src) const
+SparseMIC<number>::Tvmult (Vector<somenumber>       &/*dst*/,
+                           const Vector<somenumber> &/*src*/) const
 {
   AssertThrow(false, ExcNotImplemented());
 }
index 817ec475745939e32699f3037dfdd5ad9ae14f4e..f18341bfc5b68910948f70420c0806ad4f7a14b9 100644 (file)
@@ -8917,6 +8917,7 @@ Triangulation<dim, spacedim>::set_all_manifold_ids_on_boundary (const types::bou
             }
     }
 
+  (void)boundary_found;
   Assert(boundary_found, ExcBoundaryIdNotFound(b_id));
 }
 

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.