From: Daniel Arndt Date: Wed, 15 Aug 2018 13:59:09 +0000 (+0200) Subject: Avoid warning regarding unused variable in MeshLoop X-Git-Tag: v9.1.0-rc1~818^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7066%2Fhead;p=dealii.git Avoid warning regarding unused variable in MeshLoop --- 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,