]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning about an unused variable. 13118/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 28 Dec 2021 05:32:10 +0000 (22:32 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 28 Dec 2021 05:32:10 +0000 (22:32 -0700)
source/base/data_out_base.cc

index f92435970364526fdf7172c58acebb673a0bfaf6..5ded5afcebc8016e157c4d8430ddbdf74ba47451 100644 (file)
@@ -4104,7 +4104,8 @@ namespace DataOutBase
       if (patches.size() == 0)
         return;
 #endif
-      constexpr int dim      = 2;
+      constexpr int dim = 2;
+      (void)dim;
       constexpr int spacedim = 2;
 
       const unsigned int n_data_sets = data_names.size();

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.