From 888f8de4acf798005d40fc1fe00863a30b20d4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz> Date: Sat, 15 Sep 2018 12:02:13 +0200 Subject: [PATCH] Commented unused variable in tnl-view This shuts up a lot of GCC warnings... --- src/Tools/tnl-view.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Tools/tnl-view.h b/src/Tools/tnl-view.h index 4b3c347842..c231d606dd 100644 --- a/src/Tools/tnl-view.h +++ b/src/Tools/tnl-view.h @@ -263,10 +263,9 @@ bool convertObject( const MeshPointer& meshPointer, typedef Meshes::Grid< Dimension, Real, Devices::Host, Index > GridType; typedef typename GridType::PointType PointType; typedef typename GridType::CoordinatesType CoordinatesType; - GridType grid; - grid. setDomain( PointType( 0.0 ), PointType( 1.0 ) ); - grid. setDimensions( CoordinatesType( multiVector. getDimensions() ) ); - const Real spaceStep = grid. getSpaceSteps(). x(); +// GridType grid; +// grid. setDomain( PointType( 0.0 ), PointType( 1.0 ) ); +// grid. setDimensions( CoordinatesType( multiVector. getDimensions() ) ); // if( ! grid. write( multiVector, outputFileName, outputFormat ) ) return false; } -- GitLab