]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variables 4031/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 5 Mar 2017 14:35:23 +0000 (15:35 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 5 Mar 2017 14:35:23 +0000 (15:35 +0100)
include/deal.II/matrix_free/operators.h

index 775e51c5d9335b721924bc8d272297f1676ed287..8f35118acd1953d6b6415a85d43abeae2651044f 100644 (file)
@@ -51,7 +51,7 @@ namespace MatrixFreeOperators
     template <typename VectorType>
     typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
              unsigned int>::type
-             n_blocks(const VectorType &vector)
+             n_blocks(const VectorType &)
     {
       return 1;
     }
@@ -76,7 +76,7 @@ namespace MatrixFreeOperators
     template <typename VectorType>
     typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
              VectorType &>::type
-             subblock(VectorType &vector, unsigned int block_no)
+             subblock(VectorType &vector, unsigned int)
     {
       return vector;
     }
@@ -84,7 +84,7 @@ namespace MatrixFreeOperators
     template <typename VectorType>
     typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
              const VectorType &>::type
-             subblock(const VectorType &vector, unsigned int block_no)
+             subblock(const VectorType &vector, unsigned int)
     {
       return vector;
     }
@@ -100,7 +100,7 @@ namespace MatrixFreeOperators
     template <typename VectorType>
     typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
              void>::type
-             collect_sizes(const VectorType &vector)
+             collect_sizes(const VectorType &)
     {}
   }
 

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.