diff --git a/Code/IO/otbGDALImageIO.cxx b/Code/IO/otbGDALImageIO.cxx index 48fbe9fe6d6ca56ad1f5e8ccbde5091c6a5dfb17..9d9b81204ae2cff82417936507b911a7a384cb98 100644 --- a/Code/IO/otbGDALImageIO.cxx +++ b/Code/IO/otbGDALImageIO.cxx @@ -1286,9 +1286,6 @@ void GDALImageIO::InternalWriteImageInformation(const void* buffer) otbMsgDevMacro(<< "Enabling TIFF Tiled mode") papszOptions = CSLAddNameValue( papszOptions, "TILED", "YES" ); - unsigned int nbColumns = this->GetIORegion().GetSize()[0]; - unsigned int nbLines = this->GetIORegion().GetSize()[1]; - // Use a fixed tile size // Take as reference is a 256*256 short int 4 bands tile const unsigned int ReferenceTileSizeInBytes = 256 * 256 * 4 * 2;