]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warnings in Release mode 7621/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 22 Jan 2019 10:15:36 +0000 (11:15 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 22 Jan 2019 10:15:36 +0000 (11:15 +0100)
include/deal.II/base/exceptions.h

index ec4d1e7a250cc7368e282bba1fc549edf52b9671..2f254faf9020503b8f0eed71618be35b6011c84a 100644 (file)
@@ -1596,6 +1596,7 @@ namespace deal_II_exceptions
   AssertDimension(VEC.size(), DIM1);                 \
   for (const auto &subvector : VEC)                  \
     {                                                \
+      (void)subvector;                               \
       AssertDimension(subvector.size(), DIM2);       \
     }
 

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.