]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Give commented out name to parameters that we don't use.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 2 Feb 2006 16:31:30 +0000 (16:31 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 2 Feb 2006 16:31:30 +0000 (16:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@12227 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-4/step-4.cc

index d1208be47d6d89d2b5d19efdd36cca3092fe041a..2d3c052318b9803f6408d9311ac7ef47dd643c99 100644 (file)
@@ -206,7 +206,7 @@ class BoundaryValues : public Function<dim>
                                 // at zero as usual in C and C++.
 template <int dim>
 double RightHandSide<dim>::value (const Point<dim> &p,
-                                 const unsigned int) const 
+                                 const unsigned int /*component*/) const 
 {
   double return_value = 0;
   for (unsigned int i=0; i<dim; ++i)
@@ -225,7 +225,7 @@ double RightHandSide<dim>::value (const Point<dim> &p,
                                 // what we return:
 template <int dim>
 double BoundaryValues<dim>::value (const Point<dim> &p,
-                                  const unsigned int) const 
+                                  const unsigned int /*component*/) const 
 {
   return p.square();
 }

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.