From: David Wells Date: Fri, 27 May 2022 23:50:07 +0000 (-0400) Subject: Suppress some unused variable warnings when we don't have muParser. X-Git-Tag: v9.4.0-rc1~123^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13844%2Fhead;p=dealii.git Suppress some unused variable warnings when we don't have muParser. --- diff --git a/source/base/mu_parser_internal.cc b/source/base/mu_parser_internal.cc index 8e6ba64f4b..f6a4fcc67e 100644 --- a/source/base/mu_parser_internal.cc +++ b/source/base/mu_parser_internal.cc @@ -410,6 +410,9 @@ namespace internal } // catch #else + (void)p; + (void)time; + (void)component; AssertThrow(false, ExcNeedsFunctionparser()); #endif return std::numeric_limits::signaling_NaN(); @@ -461,6 +464,9 @@ namespace internal AssertThrow(false, ExcParseError(e.GetCode(), e.GetMsg())); } // catch #else + (void)p; + (void)time; + (void)values; AssertThrow(false, ExcNeedsFunctionparser()); #endif }