From: Marc Fehling Date: Thu, 5 Sep 2024 15:03:53 +0000 (+0200) Subject: Flag variable maybe_unused. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fa8e92de917faa8f009bfafab5c2fa563ac586d;p=dealii.git Flag variable maybe_unused. --- diff --git a/include/deal.II/lac/affine_constraints.templates.h b/include/deal.II/lac/affine_constraints.templates.h index 1d1343fd7d..e17c8c4410 100644 --- a/include/deal.II/lac/affine_constraints.templates.h +++ b/include/deal.II/lac/affine_constraints.templates.h @@ -317,7 +317,7 @@ namespace internal (void)mpi_communicator; #else - const unsigned int my_rank = + [[maybe_unused]] const unsigned int my_rank = Utilities::MPI::this_mpi_process(mpi_communicator); // First define a helper function that sorts and normalizes the constraints