From 9fa8e92de917faa8f009bfafab5c2fa563ac586d Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Thu, 5 Sep 2024 17:03:53 +0200 Subject: [PATCH] Flag variable maybe_unused. --- include/deal.II/lac/affine_constraints.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5