]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix unused variable warning in step-50 4074/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 17 Mar 2017 06:52:25 +0000 (07:52 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 17 Mar 2017 06:52:25 +0000 (07:52 +0100)
examples/step-50/step-50.cc

index 69119e34ba466234a3667455798e6d70f91a6535..3fae3f2a5429f04e1b4bcc5d880eeb92657330ca 100644 (file)
@@ -188,6 +188,7 @@ namespace Step50
                                      std::vector<double>            &values,
                                      const unsigned int              component) const
   {
+    (void)component;
     const unsigned int n_points = points.size();
 
     Assert (values.size() == n_points,

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.