From 7eb1ee23aacdbfd83f41cad222ac0790ac227f8f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 15 Aug 2018 15:59:09 +0200 Subject: [PATCH] Avoid warning regarding unused variable in MeshLoop --- include/deal.II/meshworker/mesh_loop.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/deal.II/meshworker/mesh_loop.h b/include/deal.II/meshworker/mesh_loop.h index a8fe5b4e70..14b8e41db8 100644 --- a/include/deal.II/meshworker/mesh_loop.h +++ b/include/deal.II/meshworker/mesh_loop.h @@ -228,8 +228,6 @@ namespace MeshWorker dimension>::faces_per_cell; ++face_no) { - typename CellIteratorType::AccessorType::Container::face_iterator - face = cell->face(face_no); if (cell->at_boundary(face_no) && !cell->has_periodic_neighbor(face_no)) { @@ -361,7 +359,8 @@ namespace MeshWorker cell->periodic_neighbor_face_no(face_no) : cell->neighbor_face_no(face_no); Assert(periodic_neighbor || - neighbor->face(neighbor_face_no) == face, + neighbor->face(neighbor_face_no) == + cell->face(face_no), ExcInternalError()); face_worker(cell, -- 2.39.5