From bf480bb8b7cffeecb13d99a0d77dfd424cb63fed Mon Sep 17 00:00:00 2001
From: Robert K <robertk@posteo.org>
Date: Mon, 7 Nov 2016 23:30:41 +0100
Subject: [PATCH] [cleanup][VTKWriter] remove unused variable.

---
 dune/grid/io/file/vtk/vtkwriter.hh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dune/grid/io/file/vtk/vtkwriter.hh b/dune/grid/io/file/vtk/vtkwriter.hh
index ef4764caa6..5d75a8607f 100644
--- a/dune/grid/io/file/vtk/vtkwriter.hh
+++ b/dune/grid/io/file/vtk/vtkwriter.hh
@@ -1293,7 +1293,6 @@ namespace Dune
     bool checkForPolyhedralCells() const
     {
       // check if polyhedron cells are present
-      bool foundPolyhedron = false ;
       for( const auto& geomType : gridView_.indexSet().types( 0 ) )
       {
         if( VTK::geometryType( geomType ) == VTK::polyhedron )
-- 
GitLab