From 9c8093b8e5b1f758e03e174ffa7a1d7626d16ec3 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Tue, 22 Mar 2011 21:00:41 -0700
Subject: [PATCH] BUG: remove unused variables

---
 Code/IO/otbGDALImageIO.cxx | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Code/IO/otbGDALImageIO.cxx b/Code/IO/otbGDALImageIO.cxx
index 48fbe9fe6d..9d9b81204a 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;
-- 
GitLab