Commit 888f8de4 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Commented unused variable in tnl-view

This shuts up a lot of GCC warnings...
parent 1e74c6d1
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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;
   }