]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suppress some unused variable warnings when we don't have muParser. 13844/head
authorDavid Wells <drwells@email.unc.edu>
Fri, 27 May 2022 23:50:07 +0000 (19:50 -0400)
committerDavid Wells <drwells@email.unc.edu>
Fri, 27 May 2022 23:50:07 +0000 (19:50 -0400)
source/base/mu_parser_internal.cc

index 8e6ba64f4bad118f96c7b14951b7b2691af9f895..f6a4fcc67e1cb64c58892c2b6ecb8d02b9a59a88 100644 (file)
@@ -410,6 +410,9 @@ namespace internal
         } // catch
 
 #else
+      (void)p;
+      (void)time;
+      (void)component;
       AssertThrow(false, ExcNeedsFunctionparser());
 #endif
       return std::numeric_limits<double>::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
     }

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.