]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove warnings about unused arguments 3880/head
authorKarl Ljungkvist <k.ljungkvist@gmail.com>
Tue, 31 Jan 2017 13:49:42 +0000 (14:49 +0100)
committerKarl Ljungkvist <k.ljungkvist@gmail.com>
Tue, 31 Jan 2017 13:54:19 +0000 (14:54 +0100)
source/base/function_spherical.cc

index 56b8117e213c159fffd1c2b0ed4afc41a7a2c199..aafcc83c2fcc1938f0ff577358e2d07ea7e232e6 100644 (file)
@@ -225,7 +225,7 @@ namespace Functions
   template <int dim>
   SymmetricTensor<2,dim>
   Spherical<dim>::hessian (const Point<dim> &p_,
-                           const unsigned int component) const
+                           const unsigned int /* component */) const
   {
     const Point<dim> p = p_ - coordinate_system_offset;
     const std_cxx11::array<double, dim> sp = GeometricUtilities::Coordinates::to_spherical(p);
@@ -309,7 +309,7 @@ namespace Functions
 
   template <int dim>
   double
-  Spherical<dim>::svalue(const std_cxx11::array<double, dim> &sp) const
+  Spherical<dim>::svalue(const std_cxx11::array<double, dim> & /* sp */) const
   {
     AssertThrow(false,
                 ExcNotImplemented());
@@ -320,7 +320,7 @@ namespace Functions
 
   template <int dim>
   std_cxx11::array<double, dim>
-  Spherical<dim>::sgradient(const std_cxx11::array<double, dim> &sp) const
+  Spherical<dim>::sgradient(const std_cxx11::array<double, dim> & /* sp */) const
   {
     AssertThrow(false,
                 ExcNotImplemented());
@@ -331,7 +331,7 @@ namespace Functions
 
   template <int dim>
   std_cxx11::array<double, 6>
-  Spherical<dim>::shessian (const std_cxx11::array<double, dim> &sp) const
+  Spherical<dim>::shessian (const std_cxx11::array<double, dim> & /* sp */) const
   {
     AssertThrow(false,
                 ExcNotImplemented());

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.