]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warnings about unused variables. 4412/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 23 May 2017 21:33:42 +0000 (15:33 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 23 May 2017 21:33:42 +0000 (15:33 -0600)
source/grid/grid_tools.cc

index b9616c22dea5bf121663cf708b0b527d55be2a5e..1a1b17498818d3827bcfbda10f3f76056e663c4e 100644 (file)
@@ -4523,9 +4523,7 @@ next_cell:
     // Trick compiler for dimension independent things
     const unsigned int
     v0 = 0, v1 = 1,
-    v2 = (dim > 1 ? 2:0), v3 = (dim > 1 ? 3:0),
-    v4 = (dim > 2 ? 4:0), v5 = (dim > 2 ? 5:0),
-    v6 = (dim > 2 ? 6:0), v7 = (dim > 2 ? 7:0);
+    v2 = (dim > 1 ? 2:0), v3 = (dim > 1 ? 3:0);
 
     for (auto cell : tria.active_cell_iterators())
       {

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.