From 39d9c359913b0b8dcd6760cd869bae1de182e51a Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org>
Date: Fri, 6 Feb 2015 10:37:41 +0100
Subject: [PATCH] WRG: correct some warnings raised by clang

---
 Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx    | 2 +-
 ...RomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx | 1 -
 .../otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx         | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx b/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx
index fa5fc816fd..882d436584 100644
--- a/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx
+++ b/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx
@@ -138,7 +138,7 @@ int otbBCOInterpolateImageFunction2(int argc, char * argv[])
 
   std::vector<ContinuousIndexType> indicesList;
 
-  for (unsigned int i=3; i+1 < argc; i=i+2)
+  for (int i=3; i+1 < argc; i=i+2)
     {
     ContinuousIndexType idx;
 
diff --git a/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx b/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx
index 1fc539ff21..c61e77fd9a 100644
--- a/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx
+++ b/Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx
@@ -53,7 +53,6 @@ int otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter(int itkNotUsed(a
 
   typedef otb::AtmosphericRadiativeTerms                                    AtmosphericRadiativeTermsType;
   typedef AtmosphericRadiativeTermsType::Pointer                   AtmosphericRadiativeTermsPointerType;
-  typedef otb::AtmosphericRadiativeTerms::DataVectorType DataVectorType;
 
   typedef otb::FilterFunctionValues                                     FilterFunctionValuesType;
   typedef FilterFunctionValuesType::WavelengthSpectralBandType          ValueType;                //float
diff --git a/Testing/Code/Radiometry/otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx b/Testing/Code/Radiometry/otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx
index 8db8e40f23..65397990bf 100644
--- a/Testing/Code/Radiometry/otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx
+++ b/Testing/Code/Radiometry/otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx
@@ -55,7 +55,6 @@ int otbSurfaceAdjacencyEffectCorrectionSchemeFilter(int itkNotUsed(argc), char *
 
   typedef otb::AtmosphericRadiativeTerms                                    AtmosphericRadiativeTermsType;
   typedef AtmosphericRadiativeTermsType::Pointer                   AtmosphericRadiativeTermsPointerType;
-  typedef otb::AtmosphericRadiativeTerms::DataVectorType DataVectorType;
 
   typedef otb::FilterFunctionValues                                     FilterFunctionValuesType;
   typedef FilterFunctionValuesType::WavelengthSpectralBandType          ValueType;                //float
-- 
GitLab