From: Wolfgang Bangerth Date: Thu, 24 Mar 2016 20:25:56 +0000 (-0500) Subject: Avoid warnings about unused function arguments. X-Git-Tag: v8.5.0-rc1~1173^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16c1b4b6fd11f6af9fbebb6a7a59aa8788a8610d;p=dealii.git Avoid warnings about unused function arguments. --- diff --git a/source/grid/manifold.cc b/source/grid/manifold.cc index 0259a243a3..d143c92f4a 100644 --- a/source/grid/manifold.cc +++ b/source/grid/manifold.cc @@ -69,7 +69,7 @@ Manifold<2, 2>:: normal_vector (const typename Triangulation<2, 2>::face_iterator &face, const Point<2> &p) const { - const int spacedim=2, dim=2; + const int spacedim=2; Tensor<1,spacedim> tangent = ((p-face->vertex(0)).norm_square() > (p-face->vertex(1)).norm_square() ? -get_tangent_vector(p, face->vertex(0)) : @@ -84,7 +84,7 @@ Manifold<3, 3>:: normal_vector (const typename Triangulation<3, 3>::face_iterator &face, const Point<3> &p) const { - const int spacedim=3, dim=3; + const int spacedim=3; Tensor<1,spacedim> t1,t2; // Take the difference between p and all four vertices @@ -167,8 +167,8 @@ normal_vector (const typename Triangulation<3, 3>::face_iterator &face, template Tensor<1,spacedim> Manifold:: -normal_vector (const typename Triangulation::face_iterator &face, - const Point &p) const +normal_vector (const typename Triangulation::face_iterator &/*face*/, + const Point &/*p*/) const { Assert(false, ExcPureFunctionCalled()); return Tensor<1,spacedim>();