From 92fd71a55dba867fa327c4d2f744aa75e0c2351d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 26 May 2015 21:14:37 -0500 Subject: [PATCH] Silence warnings about unused arguments. Also explain why we don't need the argument. --- source/fe/fe_bernstein.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 > (); } -- 2.39.5