diff --git a/dune/istl/paamg/test/galerkintest.cc b/dune/istl/paamg/test/galerkintest.cc index f2aa196d82c121d20be3745cb8f08874d17762ed..417a26d7755be42a027afff163df5c2201560dfd 100644 --- a/dune/istl/paamg/test/galerkintest.cc +++ b/dune/istl/paamg/test/galerkintest.cc @@ -118,9 +118,6 @@ void testCoarsenIndices(int N) Dune::Amg::GalerkinProduct<ParallelInformation> productBuilder; - typedef std::vector<bool> Vector; - typedef typename Vector::iterator Iterator; - //typedef Dune::IteratorPropertyMap<Iterator, Dune::IdentityMap> VisitedMap2; typedef Dune::IteratorPropertyMap<bool*, Dune::IdentityMap> VisitedMap2; /* Vector visited; diff --git a/dune/istl/paamg/test/parallelamgtest.cc b/dune/istl/paamg/test/parallelamgtest.cc index 3cae69fa2ed509ed20408edeee7748cbb2750550..495609746230bd34f2be5ac4c91989e91439bde8 100644 --- a/dune/istl/paamg/test/parallelamgtest.cc +++ b/dune/istl/paamg/test/parallelamgtest.cc @@ -85,7 +85,6 @@ void testAmg(int N, int coarsenTarget) typedef Dune::BCRSMatrix<MatrixBlock> BCRSMat; typedef Dune::FieldVector<double,BS> VectorBlock; typedef Dune::BlockVector<VectorBlock> Vector; - typedef int LocalId; typedef int GlobalId; typedef Dune::OwnerOverlapCopyCommunication<GlobalId> Communication; typedef Dune::OverlappingSchwarzOperator<BCRSMat,Vector,Vector,Communication> Operator; diff --git a/dune/istl/test/matrixtest.cc b/dune/istl/test/matrixtest.cc index 9f1489174774190747c5a1725cf996c7122372cf..21ac0482b21db580d049d2404fa86596cd85ca69 100644 --- a/dune/istl/test/matrixtest.cc +++ b/dune/istl/test/matrixtest.cc @@ -9,6 +9,7 @@ #include <dune/common/fmatrix.hh> #include <dune/common/diagonalmatrix.hh> +#include <dune/common/unused.hh> #include <dune/istl/bcrsmatrix.hh> #include <dune/istl/matrix.hh> #include <dune/istl/bdmatrix.hh> @@ -40,7 +41,7 @@ void testSuperMatrix(MatrixType& matrix) typedef typename MatrixType::size_type size_type; - typedef typename MatrixType::allocator_type allocator_type; + typedef typename MatrixType::allocator_type allocator_type DUNE_UNUSED; size_type n = matrix.N(); size_type m = matrix.M(); @@ -62,19 +63,19 @@ void testMatrix(MatrixType& matrix, X& x, Y& y) typedef typename FieldTraits<field_type>::real_type real_type; - typedef typename MatrixType::block_type block_type; + typedef typename MatrixType::block_type block_type DUNE_UNUSED; - typedef typename MatrixType::row_type row_type; + typedef typename MatrixType::row_type row_type DUNE_UNUSED; typedef typename MatrixType::size_type size_type; - typedef typename MatrixType::RowIterator RowIterator; + typedef typename MatrixType::RowIterator RowIterator DUNE_UNUSED; - typedef typename MatrixType::ConstRowIterator ConstRowIterator; + typedef typename MatrixType::ConstRowIterator ConstRowIterator DUNE_UNUSED; - typedef typename MatrixType::ColIterator ColIterator; + typedef typename MatrixType::ColIterator ColIterator DUNE_UNUSED; - typedef typename MatrixType::ConstColIterator ConstColIterator; + typedef typename MatrixType::ConstColIterator ConstColIterator DUNE_UNUSED; assert(MatrixType::blocklevel >= 0); diff --git a/dune/istl/test/scaledidmatrixtest.cc b/dune/istl/test/scaledidmatrixtest.cc index dad86d8bba01a8edd3e9af624db68d976aa7a310..2258db23ae79acdd6903667fb4cebc3753fa86ad 100644 --- a/dune/istl/test/scaledidmatrixtest.cc +++ b/dune/istl/test/scaledidmatrixtest.cc @@ -17,8 +17,6 @@ using namespace Dune; template<class K, int n> void test_matrix() { - typedef typename ScaledIdentityMatrix<K,n>::size_type size_type; - ScaledIdentityMatrix<K,n> A(1); FieldVector<K,n> f; FieldVector<K,n> v;