From 376b157d96a7dd9da13c9b51f45335d5efe7d49c Mon Sep 17 00:00:00 2001 From: David Wells Date: Fri, 27 May 2022 19:50:07 -0400 Subject: [PATCH] Suppress some unused variable warnings when we don't have muParser. --- source/base/mu_parser_internal.cc | 6 ++++++ 1 file changed, 6 insertions(+) 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 } -- 2.39.5