From 8bce47f56c380138b5cc616629467b57312306f7 Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org>
Date: Wed, 28 Sep 2011 11:09:23 +0200
Subject: [PATCH] WRG:remove unused varaibles

---
 .../BasicFilters/otbMaximumAutocorrelationFactorImageFilter.txx | 2 +-
 Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx     | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.txx b/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.txx
index a902428dc5..3707c63779 100644
--- a/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.txx
+++ b/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.txx
@@ -51,7 +51,7 @@ MaximumAutocorrelationFactorImageFilter<TInputImage, TOutputImage>
 
   // Retrieve input images pointers
   TInputImage * inputPtr = const_cast<TInputImage *>(this->GetInput());
-  TOutputImage * outputPtr = this->GetOutput();
+  //TOutputImage * outputPtr = this->GetOutput();
 
   // TODO: set the number of output components
   unsigned int nbComp = inputPtr->GetNumberOfComponentsPerPixel();
diff --git a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx
index c741a5e440..ebd0b89f68 100644
--- a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx
+++ b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx
@@ -206,7 +206,6 @@ CommandLineLauncher::BeforeExecute()
   m_Application->UpdateParameters();
 
   // Check for the progress report
-  bool doProgressReport = true;
   if( m_Parser->IsAttributExists( "--progress", m_Expression ) == true )
     {
     std::vector<std::string> val;
-- 
GitLab