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

index f84f90acaba0d9c31aae7c26dbf2e7b1e26ed5ef..c516dad434bebf4b0000a01c8f89bace4237957c 100644 (file)
@@ -126,6 +126,7 @@ namespace Step45
   BoundaryValues<dim>::value (const Point<dim>  &/*p*/,
                               const unsigned int component) const
   {
+    (void) component;
     Assert (component < this->n_components,
             ExcIndexRange (component, 0, this->n_components));
 

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.