From: Wolfgang Bangerth Date: Wed, 27 May 2015 02:14:37 +0000 (-0500) Subject: Silence warnings about unused arguments. X-Git-Tag: v8.3.0-rc1~154^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92fd71a55dba867fa327c4d2f744aa75e0c2351d;p=dealii.git Silence warnings about unused arguments. Also explain why we don't need the argument. --- diff --git a/source/fe/fe_bernstein.cc b/source/fe/fe_bernstein.cc index fd6654524b..0f637d7a44 100644 --- a/source/fe/fe_bernstein.cc +++ b/source/fe/fe_bernstein.cc @@ -196,22 +196,28 @@ FE_Bernstein::hp_vertex_dof_identities (const FiniteElement std::vector > -FE_Bernstein::hp_line_dof_identities (const FiniteElement &fe_other) const +FE_Bernstein::hp_line_dof_identities (const FiniteElement &) const { // Since this fe is not interpolatory but on the vertices, we can // not identify dofs on lines and on quads even if there are dofs // on lines and on quads. + // + // we also have nothing to say about interpolation to other finite + // elements. consequently, we never have anything to say at all return std::vector > (); } template std::vector > -FE_Bernstein::hp_quad_dof_identities (const FiniteElement &fe_other) const +FE_Bernstein::hp_quad_dof_identities (const FiniteElement &) const { // Since this fe is not interpolatory but on the vertices, we can // not identify dofs on lines and on quads even if there are dofs // on lines and on quads. + // + // we also have nothing to say about interpolation to other finite + // elements. consequently, we never have anything to say at all return std::vector > (); }