From 22f0b3300414dd2559dab3c9fd1f544bf2902d36 Mon Sep 17 00:00:00 2001
From: Aurelien Bricier <aurelien.bricier@c-s.fr>
Date: Fri, 5 Nov 2010 15:15:50 +0100
Subject: [PATCH] REFAC: suppress unused class member

---
 Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h   | 2 --
 Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h
index 9ead32ea04..662cc16272 100644
--- a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h
+++ b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.h
@@ -108,8 +108,6 @@ private:
   LabeledSampleLocalizationGenerator(const Self &); //purposely not implemented
   void operator =(const Self&); //purposely not implemented
 
-  typename VectorDataType::Pointer m_OutputVectorData;
-
   RandomGeneratorType::Pointer m_RandomGenerator;
 
   std::string               m_ClassKey;
diff --git a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx
index 1f98a744a4..1ace87b117 100644
--- a/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx
+++ b/Code/ObjectDetection/otbLabeledSampleLocalizationGenerator.txx
@@ -36,9 +36,6 @@ LabeledSampleLocalizationGenerator<TVectorData>
   this->SetNumberOfRequiredInputs(1);
   this->SetNumberOfRequiredOutputs(1);
  
-  m_OutputVectorData = VectorDataType::New();
-  this->SetNthOutput(0, m_OutputVectorData);
-
   m_RandomGenerator = RandomGeneratorType::New();
 }
 
-- 
GitLab