]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some unused variables. 3945/head
authorDavid Wells <wellsd2@rpi.edu>
Wed, 8 Feb 2017 03:12:46 +0000 (22:12 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Wed, 8 Feb 2017 03:12:46 +0000 (22:12 -0500)
This was caught by clang 3.9.

include/deal.II/base/symmetric_tensor.h
include/deal.II/base/tensor.h

index 4b4065b362dd5eca3eaf5f3178228050922a21bb..c1767a936a0528d394b70430dfe7b97fc4075086 100644 (file)
@@ -2551,7 +2551,7 @@ identity_tensor ()
 template <int dim, typename Number>
 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
index f395a8863655bf7716926a09838b645709377205..2e7b69f5697b501809430da167ea3227f3de0405 100644 (file)
@@ -1788,7 +1788,7 @@ Number trace (const Tensor<2,dim,Number> &d)
 template <int dim, typename Number>
 inline
 Tensor<2,dim,Number>
-invert (const Tensor<2,dim,Number> &t)
+invert (const Tensor<2,dim,Number> &)
 {
   Number return_tensor [dim][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.