Commit 5b8c2e8b authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

COMP: Supress warning 'unused variable x and y in otb::TileMapImageIO class

parent d91e31fd
......@@ -525,10 +525,11 @@ namespace otb
//otbMsgDevMacro( <<" sizeof(off_type) : "<<sizeof(off_type));
otbMsgDevMacro( <<" sizeof(unsigned long) : "<<sizeof(unsigned long));
double x = (originSample+firstSample)/((1 << m_Depth)*256.);
/* double x = (originSample+firstSample)/((1 << m_Depth)*256.);
double y = (originLine+firstLine)/((1 << m_Depth)*256.);
otbMsgDevMacro(<< x );
otbMsgDevMacro(<< y );
*/
int nTilesX = (int) ceil(totSamples/256.)+1;
int nTilesY = (int) ceil(totLines/256.)+1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment