]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variable warning 8656/head
authorDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Tue, 27 Aug 2019 17:13:43 +0000 (19:13 +0200)
committerDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Tue, 27 Aug 2019 17:13:43 +0000 (19:13 +0200)
source/distributed/solution_transfer.cc

index af72125dbd2d40d9751c9e0d27423b9214683d5d..222884d101f31a3c4e6417e1adec7f76db449e09 100644 (file)
@@ -61,7 +61,10 @@ namespace
                   const unsigned int               dofs_per_cell)
   {
     for (const auto &values : dof_values)
-      AssertDimension(values.size(), dofs_per_cell);
+      {
+        AssertDimension(values.size(), dofs_per_cell);
+        (void)values;
+      }
 
     const std::size_t bytes_per_entry = sizeof(value_type) * dofs_per_cell;
 

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.