From: Daniel Arndt Date: Tue, 22 Jan 2019 10:15:36 +0000 (+0100) Subject: Fix warnings in Release mode X-Git-Tag: v9.1.0-rc1~419^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7621%2Fhead;p=dealii.git Fix warnings in Release mode --- diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index ec4d1e7a25..2f254faf90 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -1596,6 +1596,7 @@ namespace deal_II_exceptions AssertDimension(VEC.size(), DIM1); \ for (const auto &subvector : VEC) \ { \ + (void)subvector; \ AssertDimension(subvector.size(), DIM2); \ }