From: Wolfgang Bangerth Date: Tue, 20 Aug 2024 03:47:17 +0000 (-0600) Subject: Suppress a warning about an unused variable. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38eaeba62bd774322ecd5efc8d7b2dadaa0eb70e;p=dealii.git Suppress a warning about an unused variable. --- diff --git a/source/fe/fe_face.cc b/source/fe/fe_face.cc index f624baf989..78b4f7d5d1 100644 --- a/source/fe/fe_face.cc +++ b/source/fe/fe_face.cc @@ -950,7 +950,7 @@ FE_FaceP::get_subface_interpolation_matrix( face_quadrature.point(k), subface); v_in(k) = this->poly_space.compute_value(i, p); } - const double result = H.least_squares(v_out, v_in); + [[maybe_unused]] const double result = H.least_squares(v_out, v_in); Assert(result < 1e-12, FETools::ExcLeastSquaresError(result)); for (unsigned int j = 0; j < source_fe->n_dofs_per_face(face_no); ++j)