]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid warnings about unused variables. branch_higher_derivatives
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 6 Jan 2013 00:09:38 +0000 (00:09 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 6 Jan 2013 00:09:38 +0000 (00:09 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_higher_derivatives@27938 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/polynomial_space.cc
deal.II/source/base/tensor_product_polynomials.cc

index e25502d242d57584a186f8662992bc2d8d50f7f5..7fdb1d2ee92eec4667bb05b4cc661ac533ef5cbf 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005, 2006, 2012 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -205,9 +205,9 @@ PolynomialSpace<dim>::compute_hessian (const unsigned int i,
 
 template <int dim>
 boost::any
-PolynomialSpace<dim>::compute_nth_derivative (const unsigned int i,
-                                              const Point<dim>  &p,
-                                              const unsigned int nth_derivative) const
+PolynomialSpace<dim>::compute_nth_derivative (const unsigned int /*i*/,
+                                             const Point<dim> &/*p*/,
+                                             const unsigned int /*nth_derivative*/) const
 {
   /*
   unsigned int ix[dim];
index e11958c0d717ca0344209b03e313c5152411f633..aad4d9d54751f0ef8acf7cd40d8206d07f0df65a 100644 (file)
@@ -208,9 +208,9 @@ TensorProductPolynomials<dim>::compute_hessian (const unsigned int i,
 
 template <int dim>
 boost::any
-TensorProductPolynomials<dim>::compute_nth_derivative (const unsigned int i,
-                                                       const Point<dim> &p,
-                                                       const unsigned int nth_derivative) const
+TensorProductPolynomials<dim>::compute_nth_derivative (const unsigned int /*i*/,
+                                                       const Point<dim> &/*p*/,
+                                                       const unsigned int /*nth_derivative*/) const
 {
   /*
   unsigned int indices[dim];

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.