From: David Wells Date: Wed, 8 Feb 2017 03:12:46 +0000 (-0500) Subject: Remove some unused variables. X-Git-Tag: v8.5.0-rc1~137^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3945%2Fhead;p=dealii.git Remove some unused variables. This was caught by clang 3.9. --- diff --git a/include/deal.II/base/symmetric_tensor.h b/include/deal.II/base/symmetric_tensor.h index 4b4065b362..c1767a936a 100644 --- a/include/deal.II/base/symmetric_tensor.h +++ b/include/deal.II/base/symmetric_tensor.h @@ -2551,7 +2551,7 @@ identity_tensor () template inline SymmetricTensor<2,dim,Number> -invert (const SymmetricTensor<2,dim,Number> &t) +invert (const SymmetricTensor<2,dim,Number> &) { // if desired, take over the // inversion of a 4x4 tensor diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index f395a88636..2e7b69f569 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -1788,7 +1788,7 @@ Number trace (const Tensor<2,dim,Number> &d) template inline Tensor<2,dim,Number> -invert (const Tensor<2,dim,Number> &t) +invert (const Tensor<2,dim,Number> &) { Number return_tensor [dim][dim];