diff --git a/Code/Common/otbVariableLengthVectorConverter.txx b/Code/Common/otbVariableLengthVectorConverter.txx index 42931131a5789729f74a6344066f237bb336d95a..ec25d9722fac5d091eef63d3ff7276bb25adb244 100644 --- a/Code/Common/otbVariableLengthVectorConverter.txx +++ b/Code/Common/otbVariableLengthVectorConverter.txx @@ -91,7 +91,7 @@ typename VariableLengthVectorConverter< itk::FixedArray<TInternalInputType, VArr VariableLengthVectorConverter< itk::FixedArray<TInternalInputType, VArrayDimension>, TPrecisionType> ::Convert(InputType input) { - unsigned int p, q, rsltIdx = 0; + unsigned int rsltIdx = 0; OutputType result; result.SetSize(VArrayDimension); diff --git a/Code/IO/otbDEMToImageGenerator.txx b/Code/IO/otbDEMToImageGenerator.txx index 926922f5dd4f7e17bcbf7349e55c90996c76a692..ec926c4f90bb7f139befab14bca063ec006f1d1f 100644 --- a/Code/IO/otbDEMToImageGenerator.txx +++ b/Code/IO/otbDEMToImageGenerator.txx @@ -116,7 +116,6 @@ DEMToImageGenerator<TDEMImage> // Walk the output image, evaluating the height at each pixel IndexType currentindex; PointType phyPoint; - double height; PointType geoPoint; for (outIt.GoToBegin(); !outIt.IsAtEnd(); ++outIt) diff --git a/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx b/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx index dc02e71901eee8d631f19a86e392ab54c877d5ee..f6b8e209aeb1952098265a01c5af36818753d3ca 100644 --- a/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx @@ -193,8 +193,7 @@ int otbBandMathImageFilterWithIdx( int argc, char* argv[]) typedef otb::Image<PixelType, 2> ImageType; typedef otb::BandMathImageFilter<ImageType> FilterType; typedef otb::StreamingImageFileWriter<ImageType> WriterType; - - unsigned int i; + const unsigned int N = 100; unsigned int FAIL_FLAG = 0;