From 6a58004bcd6e09fa68a67c895f1fd3a19323ffa5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 23 Oct 2015 15:46:44 -0500 Subject: [PATCH] Fix two recently introduced warnings about unused variables. --- include/deal.II/lac/sparse_mic.templates.h | 4 ++-- source/grid/tria.cc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/sparse_mic.templates.h b/include/deal.II/lac/sparse_mic.templates.h index 46df280943..0a5de1aeed 100644 --- a/include/deal.II/lac/sparse_mic.templates.h +++ b/include/deal.II/lac/sparse_mic.templates.h @@ -191,8 +191,8 @@ SparseMIC::vmult (Vector &dst, template template void -SparseMIC::Tvmult (Vector &dst, - const Vector &src) const +SparseMIC::Tvmult (Vector &/*dst*/, + const Vector &/*src*/) const { AssertThrow(false, ExcNotImplemented()); } diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 817ec47574..f18341bfc5 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -8917,6 +8917,7 @@ Triangulation::set_all_manifold_ids_on_boundary (const types::bou } } + (void)boundary_found; Assert(boundary_found, ExcBoundaryIdNotFound(b_id)); } -- 2.39.5