From 07ab22df867e51f0f9c7fa37aa7afd60c973752f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Steffen=20M=C3=BCthing?= <muething@dune-project.org>
Date: Wed, 18 Dec 2013 11:47:03 +0100
Subject: [PATCH] [Release][Cleanup] Silence a number of unused local typedef
 warnings from GCC 4.8

---
 dune/istl/matrixmatrix.hh | 5 -----
 dune/istl/repartition.hh  | 1 -
 2 files changed, 6 deletions(-)

diff --git a/dune/istl/matrixmatrix.hh b/dune/istl/matrixmatrix.hh
index 2b100c706..d28ba12d4 100644
--- a/dune/istl/matrixmatrix.hh
+++ b/dune/istl/matrixmatrix.hh
@@ -43,14 +43,11 @@ namespace Dune
                            const Dune::BCRSMatrix<Dune::FieldMatrix<T,k,m>,A2>& B,
                            F& func)
       {
-        typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,m>,A2>::size_type size_type;
-
         if(A.M()!=B.N())
           DUNE_THROW(ISTLError, "The sizes of the matrices do not match: "<<A.M()<<"!="<<B.N());
 
         typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,n,k>,A1>::ConstRowIterator Row;
         typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,n,k>,A1>::ConstColIterator Col;
-        typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,m>,A2>::ConstRowIterator BRow;
         typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,m>,A2>::ConstColIterator BCol;
         for(Row row= A.begin(); row != A.end(); ++row) {
           // Loop over all column entries
@@ -81,8 +78,6 @@ namespace Dune
         typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,n>,A1>::ConstRowIterator Row;
         typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,n>,A1>::ConstColIterator Col;
         typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,m>,A2>::ConstColIterator BCol;
-        typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,n>,A1>::size_type size_t1;
-        typedef typename Dune::BCRSMatrix<Dune::FieldMatrix<T,k,m>,A2>::size_type size_t2;
 
         for(Row row=A.begin(); row!=A.end(); ++row) {
           for(Col col=row->begin(); col!=row->end(); ++col) {
diff --git a/dune/istl/repartition.hh b/dune/istl/repartition.hh
index 93177190e..4e273599c 100644
--- a/dune/istl/repartition.hh
+++ b/dune/istl/repartition.hh
@@ -905,7 +905,6 @@ namespace Dune
         // setup edge and weight pattern
         typedef typename  RemoteIndices::const_iterator NeighbourIterator;
         typedef typename  Dune::OwnerOverlapCopyCommunication<T1,T2>::ParallelIndexSet IndexSet;
-        typedef typename  IndexSet::LocalIndex LocalIndex;
 
         idxtype* adjp=adjncy;
 
-- 
GitLab