]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning about unused variable 12750/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 9 Sep 2021 07:42:39 +0000 (09:42 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 9 Sep 2021 07:42:39 +0000 (09:42 +0200)
include/deal.II/base/tensor.h

index 874b71c4db67410d9d834c9ee1693cbf27111a69..ba253fc8c0e7ec921436444919b2eab16d73420c 100644 (file)
@@ -1246,6 +1246,7 @@ Iterator
 Tensor<0, dim, Number>::unroll_recursion(const Iterator current,
                                          const Iterator end) const
 {
+  (void)end;
   Assert(dim != 0,
          ExcMessage("Cannot unroll an object of type Tensor<0,0,Number>"));
   Assert(std::distance(current, end) >= 1,

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.