]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix unused variable warnings in step-31
authorMatthias Maier <tamiko@43-1.org>
Wed, 15 Mar 2017 19:12:54 +0000 (14:12 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 15 Mar 2017 19:16:58 +0000 (14:16 -0500)
examples/step-31/step-31.cc

index 9dc71120aa1d28defdb60a51a53235aaa4f29de0..eedc92996632be243a530e8c0d1643d8c10d5fd8 100644 (file)
@@ -178,6 +178,7 @@ namespace Step31
     TemperatureRightHandSide<dim>::value (const Point<dim>  &p,
                                           const unsigned int component) const
     {
+      (void) component;
       Assert (component == 0,
               ExcMessage ("Invalid operation for a scalar function."));
 

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.