]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Flag variable maybe_unused. 17663/head
authorMarc Fehling <mafehling.git@gmail.com>
Thu, 5 Sep 2024 15:03:53 +0000 (17:03 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Thu, 5 Sep 2024 15:08:14 +0000 (17:08 +0200)
include/deal.II/lac/affine_constraints.templates.h

index 1d1343fd7dc4bdcc308743b326e9501f5c7443c6..e17c8c4410bbb3c51f9414dfec7750bb245e8b8d 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.