diff --git a/Code/BasicFilters/otbLabelImageRegionMergingFilter.txx b/Code/BasicFilters/otbLabelImageRegionMergingFilter.txx index acbccde2d52b1d92525547d0a86f7d6e6705e949..da53930eefbf609fccd6ac8007ec7912ffdf5d20 100644 --- a/Code/BasicFilters/otbLabelImageRegionMergingFilter.txx +++ b/Code/BasicFilters/otbLabelImageRegionMergingFilter.txx @@ -150,7 +150,7 @@ LabelImageRegionMergingFilter<TInputLabelImage, TInputSpectralImage, TOutputLabe template <class TInputLabelImage, class TInputSpectralImage, class TOutputLabelImage, class TOutputClusteredImage> void LabelImageRegionMergingFilter<TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage> -::EnlargeOutputRequestedRegion( itk::DataObject *output ) +::EnlargeOutputRequestedRegion( itk::DataObject *itkNotUsed(output) ) { // This filter requires all of the output images in the buffer. for ( unsigned int j = 0; j < this->GetNumberOfOutputs(); j++ ) diff --git a/Code/BasicFilters/otbLabelImageRegionPruningFilter.txx b/Code/BasicFilters/otbLabelImageRegionPruningFilter.txx index 71ea773f176e7228116be8493fdc671fd883d97b..37a2a0405622f85c32e2a87aed7ab6dbdfa270e9 100644 --- a/Code/BasicFilters/otbLabelImageRegionPruningFilter.txx +++ b/Code/BasicFilters/otbLabelImageRegionPruningFilter.txx @@ -151,7 +151,7 @@ LabelImageRegionPruningFilter<TInputLabelImage, TInputSpectralImage, TOutputLabe template <class TInputLabelImage, class TInputSpectralImage, class TOutputLabelImage, class TOutputClusteredImage> void LabelImageRegionPruningFilter<TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage> -::EnlargeOutputRequestedRegion( itk::DataObject *output ) +::EnlargeOutputRequestedRegion( itk::DataObject *itkNotUsed(output) ) { // This filter requires all of the output images in the buffer. for ( unsigned int j = 0; j < this->GetNumberOfOutputs(); j++ ) diff --git a/Code/BasicFilters/otbLabelizeImageFilterBase.h b/Code/BasicFilters/otbLabelizeImageFilterBase.h index 7208ace1b6e472307fa4baf40f74955c2ed6c0f5..c1827a1e188458f1af83f1a18fb429e0d9aa1063 100644 --- a/Code/BasicFilters/otbLabelizeImageFilterBase.h +++ b/Code/BasicFilters/otbLabelizeImageFilterBase.h @@ -98,7 +98,7 @@ protected: virtual void GenerateData(); /** Region growing */ - virtual void RegionGrowing(const IndexType indexSeed) {} + virtual void RegionGrowing(const IndexType itkNotUsed(indexSeed)) {} /** Instance region growing filter*/ RegionGrowingFilterPointerType m_RegionGrowingFilter; diff --git a/Code/BasicFilters/otbListSampleToHistogramListGenerator.txx b/Code/BasicFilters/otbListSampleToHistogramListGenerator.txx index 396ca1129278fb40e54344b67676b35f1e01ca87..46a907eae71c9ee6bdf8c8347197d69e82fec5fe 100644 --- a/Code/BasicFilters/otbListSampleToHistogramListGenerator.txx +++ b/Code/BasicFilters/otbListSampleToHistogramListGenerator.txx @@ -90,7 +90,7 @@ template<class TListSample, class THistogramMeasurement, class TFrequencyContain typename ListSampleToHistogramListGenerator<TListSample,THistogramMeasurement, TFrequencyContainer> ::DataObjectPointer ListSampleToHistogramListGenerator<TListSample,THistogramMeasurement, TFrequencyContainer> -::MakeOutput(DataObjectPointerArraySizeType idx) +::MakeOutput(DataObjectPointerArraySizeType itkNotUsed(idx)) { DataObjectPointer output; output = static_cast<itk::DataObject*>(HistogramListType::New().GetPointer()); diff --git a/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.txx b/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.txx index 8a383cdcd6a76c8087b5e9cf7f7fffebc3cd9eb9..8ecdf69324c0159a6baff4bb4a295b6a6c10bff3 100644 --- a/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.txx +++ b/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.txx @@ -85,7 +85,7 @@ template<class TListSample, class THistogramMeasurement, class TFrequencyContain typename ListSampleToVariableDimensionHistogramGenerator<TListSample,THistogramMeasurement, TFrequencyContainer> ::DataObjectPointer ListSampleToVariableDimensionHistogramGenerator<TListSample, THistogramMeasurement,TFrequencyContainer> -::MakeOutput(unsigned int idx) +::MakeOutput(unsigned int itkNotUsed(idx)) { DataObjectPointer output; output = static_cast<itk::DataObject*>(HistogramType::New().GetPointer()); diff --git a/Code/BasicFilters/otbMeanShiftImageFilter.txx b/Code/BasicFilters/otbMeanShiftImageFilter.txx index d5a54cbff10213eeb07d4dd96220c757debfcb70..0e577c06796932e6c475340a27074f46a958e7e4 100644 --- a/Code/BasicFilters/otbMeanShiftImageFilter.txx +++ b/Code/BasicFilters/otbMeanShiftImageFilter.txx @@ -143,7 +143,7 @@ MeanShiftImageFilter<TInputImage, TOutputImage, TLabeledOutput, TBufferConverter template <class TInputImage, class TOutputImage, class TLabeledOutput, class TBufferConverter> void -MeanShiftImageFilter<TInputImage, TOutputImage, TLabeledOutput, TBufferConverter>::EnlargeOutputRequestedRegion( itk::DataObject *output ) +MeanShiftImageFilter<TInputImage, TOutputImage, TLabeledOutput, TBufferConverter>::EnlargeOutputRequestedRegion( itk::DataObject *itkNotUsed(output) ) { // This filter requires all of the output images in the buffer. diff --git a/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx b/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx index 1dd50d0cbfdadf708cf58e3851261d1822a6a008..e1e2064c29a8155856e442209a750553efdba5b9 100644 --- a/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx +++ b/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx @@ -59,7 +59,7 @@ StreamingShrinkImageRegionSplitter StreamingShrinkImageRegionSplitter::RegionType StreamingShrinkImageRegionSplitter -::GetSplit(unsigned int i, unsigned int numberOfPieces, const RegionType& region) +::GetSplit(unsigned int i, unsigned int itkNotUsed(numberOfPieces), const RegionType& region) { RegionType splitRegion; IndexType splitIndex; diff --git a/Code/BasicFilters/otbTileImageFilter.txx b/Code/BasicFilters/otbTileImageFilter.txx index dbb8c7ae3adddcffafe4f365c2954147cdfaa063..0049f913e980e24be437f1c4b112e74673671465 100644 --- a/Code/BasicFilters/otbTileImageFilter.txx +++ b/Code/BasicFilters/otbTileImageFilter.txx @@ -164,7 +164,7 @@ TileImageFilter<TImage> template <class TImage> void TileImageFilter<TImage> -::ThreadedGenerateData(const RegionType& outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const RegionType& outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId)) { // Retrieve output image pointer ImageType * outputPtr = this->GetOutput(); diff --git a/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.txx b/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.txx index 35849e76553b3148011cff54c7a98d3cb8f950f5..2f05d6dfc0763139c2b6dd99e1273ded76135049 100644 --- a/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.txx +++ b/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.txx @@ -84,7 +84,7 @@ template <class TInputImage, class TOutputImage> void VectorImageTo3DScalarImageFilter<TInputImage, TOutputImage> ::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, - itk::ThreadIdType threadId) + itk::ThreadIdType itkNotUsed(threadId)) { const InputImageType* inputPtr = this->GetInput(); OutputImageType* outputPtr = this->GetOutput(); diff --git a/Code/Common/otbCommandLineArgumentParser.cxx b/Code/Common/otbCommandLineArgumentParser.cxx index 67f0c21ef2834629f8b82a8c4d4bf1ed468b405e..eff12c580afaa74fea3393e75100712f069df772 100644 --- a/Code/Common/otbCommandLineArgumentParser.cxx +++ b/Code/Common/otbCommandLineArgumentParser.cxx @@ -33,7 +33,7 @@ CommandLineArgumentParseResult::CommandLineArgumentParseResult() {} CommandLineArgumentParseResult::~CommandLineArgumentParseResult() {} void CommandLineArgumentParseResult -::PrintSelf(std::ostream& itkNotUsed(os), itk::Indent indent) const +::PrintSelf(std::ostream& itkNotUsed(os), itk::Indent itkNotUsed(indent)) const { } diff --git a/Code/Common/otbDrawLineSpatialObjectListFilter.txx b/Code/Common/otbDrawLineSpatialObjectListFilter.txx index f25b1ec6a59233f7ff8c948904fbfb71cf7971ae..eff28f2d66d6861f6e2e5267a366e8a174b2557c 100644 --- a/Code/Common/otbDrawLineSpatialObjectListFilter.txx +++ b/Code/Common/otbDrawLineSpatialObjectListFilter.txx @@ -64,7 +64,7 @@ DrawLineSpatialObjectListFilter<TInputImage, TOutputImage> template <class TInputImage, class TOutputImage> void DrawLineSpatialObjectListFilter<TInputImage, TOutputImage> -::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId)) { typename InputImageType::ConstPointer input = this->GetInput(); @@ -280,7 +280,7 @@ void DrawLineSpatialObjectListFilter<TInputImage, TOutput> ::CropSegment(OutputIndexType *indexToCrop, OutputIndexType *otherIndex, - const OutputImageRegionType *outputRegionForThread) const + const OutputImageRegionType *itkNotUsed(outputRegionForThread)) const { OutputIndexType tempIndex; diff --git a/Code/DisparityMap/otbBijectionCoherencyFilter.txx b/Code/DisparityMap/otbBijectionCoherencyFilter.txx index 40298401ac40094eb7f0b8c8d76899bc593bb0b3..ed2f32b8bd14f7fb7c5563d1141e0d098ca0ec9c 100644 --- a/Code/DisparityMap/otbBijectionCoherencyFilter.txx +++ b/Code/DisparityMap/otbBijectionCoherencyFilter.txx @@ -215,7 +215,7 @@ BijectionCoherencyFilter<TDisparityImage,TOutputImage> template <class TDisparityImage, class TOutputImage> void BijectionCoherencyFilter<TDisparityImage,TOutputImage> -::ThreadedGenerateData(const OutputRegionType & outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const OutputRegionType & outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId)) { const TDisparityImage * directHmap = this->GetDirectHorizontalDisparityMapInput(); const TDisparityImage * directVmap = this->GetDirectVerticalDisparityMapInput(); diff --git a/Code/DisparityMap/otbDisparityMapToDEMFilter.txx b/Code/DisparityMap/otbDisparityMapToDEMFilter.txx index 79e1709b7f7d8643c901c80683469fe71b89fd2c..f540dd079edce0dd988ea089e87a04657561c9fc 100644 --- a/Code/DisparityMap/otbDisparityMapToDEMFilter.txx +++ b/Code/DisparityMap/otbDisparityMapToDEMFilter.txx @@ -299,18 +299,18 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri lr[0] += static_cast<double>(inputSize[0]); lr[1] += static_cast<double>(inputSize[1]); ll[1] += static_cast<double>(inputSize[1]); - + rightImgPtr->TransformContinuousIndexToPhysicalPoint(ul,ulp); rightImgPtr->TransformContinuousIndexToPhysicalPoint(ur,urp); rightImgPtr->TransformContinuousIndexToPhysicalPoint(ll,llp); rightImgPtr->TransformContinuousIndexToPhysicalPoint(lr,lrp); - + RSTransform2DType::OutputPointType right_ul, right_ur, right_lr, right_ll; right_ul = rightToGroundTransform->TransformPoint(ulp); right_ur = rightToGroundTransform->TransformPoint(urp); right_ll = rightToGroundTransform->TransformPoint(llp); right_lr = rightToGroundTransform->TransformPoint(lrp); - + double left_xmin = std::min(std::min(std::min(left_ul[0],left_ur[0]),left_lr[0]),left_ll[0]); double left_xmax = std::max(std::max(std::max(left_ul[0],left_ur[0]),left_lr[0]),left_ll[0]); double left_ymin = std::min(std::min(std::min(left_ul[1],left_ur[1]),left_lr[1]),left_ll[1]); @@ -624,7 +624,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri typename DisparityMapType::RegionType requestedRegion = horizDisp->GetRequestedRegion(); m_UsedInputSplits = m_InputSplitter->GetNumberOfSplits(requestedRegion, this->GetNumberOfThreads()); - + m_LeftToGroundTransform = RSTransformType::New(); m_RightToGroundTransform = RSTransformType::New(); diff --git a/Code/DisparityMap/otbDisparityTranslateFilter.txx b/Code/DisparityMap/otbDisparityTranslateFilter.txx index c2078afe965607ef041a477ffb49c2bdfaf9b3d5..d20a54ca2b22d24392379fb2dafee312d499f0c3 100644 --- a/Code/DisparityMap/otbDisparityTranslateFilter.txx +++ b/Code/DisparityMap/otbDisparityTranslateFilter.txx @@ -319,7 +319,7 @@ DisparityTranslateFilter<TDisparityImage,TGridImage,TSensorImage,TMaskImage> template <class TDisparityImage, class TGridImage, class TSensorImage, class TMaskImage> void DisparityTranslateFilter<TDisparityImage,TGridImage,TSensorImage,TMaskImage> -::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId)) { const TGridImage * leftGrid = this->GetInverseEpipolarLeftGrid(); const TGridImage * rightGrid = this->GetDirectEpipolarRightGrid(); diff --git a/Code/DisparityMap/otbMulti3DMapToDEMFilter.txx b/Code/DisparityMap/otbMulti3DMapToDEMFilter.txx index e42ab2358d0d32255186919f06ee53e968c57494..8bf72dbe108f71f6b8bfb6a491dc348626f624b8 100644 --- a/Code/DisparityMap/otbMulti3DMapToDEMFilter.txx +++ b/Code/DisparityMap/otbMulti3DMapToDEMFilter.txx @@ -248,7 +248,7 @@ void Multi3DMapToDEMFilter<T3DImage, TMaskImage, TOutputDEMImage>::SetOutputPara outOrigin[0] = box_xmin + 0.5 * outSpacing[0]; outOrigin[1] = box_ymax + 0.5 * outSpacing[1]; outputPtr->SetOrigin(outOrigin); - + // Compute output size typename TOutputDEMImage::RegionType outRegion; outRegion.SetIndex(0, 0); @@ -536,8 +536,8 @@ void Multi3DMapToDEMFilter<T3DImage, TMaskImage, TOutputDEMImage>::BeforeThreade template<class T3DImage, class TMaskImage, class TOutputDEMImage> void Multi3DMapToDEMFilter<T3DImage, TMaskImage, TOutputDEMImage>::ThreadedGenerateData( - const RegionType & outputRegionForThread, - itk::ThreadIdType threadId) + const RegionType & itkNotUsed(outputRegionForThread), + itk::ThreadIdType threadId) { TOutputDEMImage * outputPtr = this->GetOutput(); diff --git a/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.txx b/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.txx index d931c4087c4aca7edb58e011d36133c8f68e718c..14229f5372339e23f7a4224b3aa1165c2d74d192 100644 --- a/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.txx +++ b/Code/DisparityMap/otbMultiDisparityMapTo3DFilter.txx @@ -342,7 +342,7 @@ template <class TDisparityImage, class TOutputImage, class TMaskImage, class TResidueImage> void MultiDisparityMapTo3DFilter<TDisparityImage,TOutputImage,TMaskImage,TResidueImage> -::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId)) { TOutputImage * outputPtr = this->GetOutput(); TResidueImage * residuePtr = this->GetResidueOutput(); diff --git a/Code/DisparityMap/otbSubPixelDisparityImageFilter.txx b/Code/DisparityMap/otbSubPixelDisparityImageFilter.txx index aa16e10598b00c14da27c5ebfa39a5ff2b4b9aeb..a88b9d9412e009eee573ea62bdec119acc69e1aa 100644 --- a/Code/DisparityMap/otbSubPixelDisparityImageFilter.txx +++ b/Code/DisparityMap/otbSubPixelDisparityImageFilter.txx @@ -376,7 +376,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor> { itkExceptionMacro(<<"Missing input, need left and right input images."); } - + if (!inHDispPtr) { itkExceptionMacro(<<"Input horizontal disparity map is missing"); @@ -406,7 +406,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor> { itkExceptionMacro(<<"Initial horizontal and vertical disparity maps don't have the same size ! Horizontal disparity largest region: "<<inHDispPtr->GetLargestPossibleRegion()<<", vertical disparity largest region: "<<inVDispPtr->GetLargestPossibleRegion()); } - + } template <class TInputImage, class TOutputMetricImage, @@ -423,7 +423,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor> TOutputMetricImage * outMetricPtr = this->GetMetricOutput(); TDisparityImage * outHDispPtr = this->GetHorizontalDisparityOutput(); TDisparityImage * outVDispPtr = this->GetVerticalDisparityOutput(); - + outMetricPtr->CopyInformation(inHDispPtr); outHDispPtr->CopyInformation(inHDispPtr); outVDispPtr->CopyInformation(inHDispPtr); @@ -471,7 +471,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor> TOutputMetricImage * outMetricPtr = this->GetMetricOutput(); TDisparityImage * outHDispPtr = this->GetHorizontalDisparityOutput(); TDisparityImage * outVDispPtr = this->GetVerticalDisparityOutput(); - + // Retrieve requested region (TODO: check if we need to handle // region for outHDispPtr) RegionType outputRequestedRegion = outHDispPtr->GetRequestedRegion(); diff --git a/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilter.txx b/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilter.txx index fd95dd4ae1014e8e3cd88c6dca6e68e136d166e8..462c017ea7bb9e2f2986042afacd14df11f30688 100644 --- a/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilter.txx +++ b/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilter.txx @@ -561,7 +561,7 @@ std::vector<typename ImageToSIFTKeyPointSetFilter<TInputImage, TOutputPointSet>: ImageToSIFTKeyPointSetFilter<TInputImage, TOutputPointSet> ::ComputeKeyPointOrientations(const NeighborhoodIteratorType& currentScale, const unsigned int scale, - const PixelType translation) + const PixelType itkNotUsed(translation)) { // radius of the neighborhood unsigned int radius = 4; diff --git a/Code/Fusion/otbBayesianFusionFilter.h b/Code/Fusion/otbBayesianFusionFilter.h index b1c1202b0249537601aabb9d5d438f18037de907..111bbb77f868be85628ae48020c3afbe92c12cf7 100644 --- a/Code/Fusion/otbBayesianFusionFilter.h +++ b/Code/Fusion/otbBayesianFusionFilter.h @@ -102,7 +102,7 @@ public: return m_Vcondopt; } - inline TOutput operator ()(const TInputMultiSpectral& ms, + inline TOutput operator ()(const TInputMultiSpectral& itkNotUsed(ms), const TInputMultiSpectralInterp& msi, const TInputPanchro& p) { diff --git a/Code/Fuzzy/otbStandardDSCostFunction.txx b/Code/Fuzzy/otbStandardDSCostFunction.txx index bc58a1f481cfa767c1536f9797192c38ad5ec988..f47c10db7dc6dae675512434745015619905ec3e 100644 --- a/Code/Fuzzy/otbStandardDSCostFunction.txx +++ b/Code/Fuzzy/otbStandardDSCostFunction.txx @@ -148,7 +148,7 @@ typename StandardDSCostFunction<TDSValidationFilter> template <class TDSValidationFilter> void StandardDSCostFunction<TDSValidationFilter> -::GetDerivative(const ParametersType & parameters, DerivativeType & derivative) const +::GetDerivative(const ParametersType & itkNotUsed(parameters), DerivativeType & itkNotUsed(derivative)) const { //Not necessary for Amoeba Optimizer itkExceptionMacro(<< "Not Supposed to be used when using Amoeba Optimizer!") diff --git a/Code/Hyperspectral/otbMDMDNMFImageFilter.txx b/Code/Hyperspectral/otbMDMDNMFImageFilter.txx index 054e898953c51047f9e695257617c18ba6d80e81..32172e5b4ad969ae2859b0f251dff1a7db17942d 100644 --- a/Code/Hyperspectral/otbMDMDNMFImageFilter.txx +++ b/Code/Hyperspectral/otbMDMDNMFImageFilter.txx @@ -87,7 +87,7 @@ MDMDNMFImageFilter<TInputImage, TOutputImage> ::Criterion(const MatrixType & X, const MatrixType & A, const MatrixType & S, - const double &m_Delt, + const double &itkNotUsed(m_Delt), const double &m_LambdS, const double &m_LambdD) { @@ -164,7 +164,7 @@ MDMDNMFImageFilter<TInputImage, TOutputImage> ::EvalGradS(const MatrixType &X, const MatrixType &A, const MatrixType &S, - const double &m_Delt, + const double &itkNotUsed(m_Delt), const double &m_LambdS, MatrixType & gradS) { @@ -185,7 +185,7 @@ MDMDNMFImageFilter<TInputImage, TOutputImage> ::EvalGradA(const MatrixType &X, const MatrixType &A, const MatrixType &S, - const double &m_Delt, + const double &itkNotUsed(m_Delt), const double &m_LambdD, MatrixType &gradA) { diff --git a/Code/IO/otbDefaultConvertPixelTraits.h b/Code/IO/otbDefaultConvertPixelTraits.h index 688e3c4cfa62e987c3e79fb446d3596398025e5a..b8f1c4895d7d6f7deedcbc63b24b349de60c562f 100644 --- a/Code/IO/otbDefaultConvertPixelTraits.h +++ b/Code/IO/otbDefaultConvertPixelTraits.h @@ -55,7 +55,7 @@ public: /** Set the nth component of the pixel. */ static void SetNthComponent(int c, PixelType& pixel, const ComponentType& v) { pixel.SetNthComponent(c, v); } - static void SetNthComponent(int c, PixelType & pixel, const PixelType& v) + static void SetNthComponent(int itkNotUsed(c), PixelType & pixel, const PixelType& v) { pixel = v; } /** Return a single scalar value from this pixel. */ diff --git a/Code/IO/otbGDALDriverManagerWrapper.cxx b/Code/IO/otbGDALDriverManagerWrapper.cxx index d9235aea0352fb8a4644eae31e249858627ed679..cf58c106b3b72469e8ea402abdf59d3227440aff 100644 --- a/Code/IO/otbGDALDriverManagerWrapper.cxx +++ b/Code/IO/otbGDALDriverManagerWrapper.cxx @@ -66,16 +66,16 @@ GDALDatasetWrapper::IsJPEG2000() const GDALDriverManagerWrapper::GDALDriverManagerWrapper() { GDALAllRegister(); - + GDALDriver* driver = 0; - + // Ignore incompatible Jpeg2000 drivers (Jasper) /* driver = GetGDALDriverManager()->GetDriverByName( "JPEG2000" ); if (driver) GetGDALDriverManager()->DeregisterDriver( driver ); */ - + #ifndef CHECK_HDF4OPEN_SYMBOL // Get rid of the HDF4 driver when it is buggy driver = GetGDALDriverManager()->GetDriverByName( "hdf4" ); @@ -94,7 +94,7 @@ GDALDatasetWrapper::Pointer GDALDriverManagerWrapper::Open( std::string filename ) const { GDALDatasetWrapper::Pointer datasetWrapper; - + // first : test if a driver can identify the dataset GDALDriverH identifyDriverH = GDALIdentifyDriver(filename.c_str(), NULL); if(identifyDriverH == NULL) @@ -102,9 +102,9 @@ GDALDriverManagerWrapper::Open( std::string filename ) const // don't try to open it and exit return datasetWrapper; } - + GDALDriver *identifyDriver = static_cast<GDALDriver*>(identifyDriverH); - + // check if Jasper will be used if (strcmp(identifyDriver->GetDescription(),"JPEG2000") == 0) { @@ -113,7 +113,7 @@ GDALDriverManagerWrapper::Open( std::string filename ) const "(which fails on OTB). Try setting the environment variable GDAL_SKIP" " in order to avoid this driver."); } - + GDALDatasetH dataset = GDALOpen(filename.c_str(), GA_ReadOnly); if (dataset != NULL) @@ -211,7 +211,7 @@ void GDALOverviewsBuilder::GetGDALResamplingMethod(std::string &resamplingMethod extern "C" { static int CPL_STDCALL otb_UpdateGDALProgress(double dfComplete, - const char *pszMessage, + const char *itkNotUsed(pszMessage), void * pProgressArg) { otb::GDALOverviewsBuilder* _this = (otb::GDALOverviewsBuilder*)pProgressArg; @@ -272,4 +272,3 @@ void GDALOverviewsBuilder::Update() } } // end namespace otb - diff --git a/Code/IO/otbImageIOBase.cxx b/Code/IO/otbImageIOBase.cxx index 163db7700c4578172e476cea09a40b5b72a9e85b..b22ccb1619c93e10f5ccfbaa929ab0e5733983dc 100644 --- a/Code/IO/otbImageIOBase.cxx +++ b/Code/IO/otbImageIOBase.cxx @@ -430,7 +430,7 @@ template <typename T> bool itkSetPixelType(ImageIOBase *This, const std::type_info &ptype, - ImageIOBase::IOComponentType ntype, + ImageIOBase::IOComponentType itkNotUsed(ntype), std::complex<T> itkNotUsed( dummy ) ) { if (ptype == typeid(std::complex<short>)) diff --git a/Code/IO/otbImageSeriesFileReader.h b/Code/IO/otbImageSeriesFileReader.h index ea76aefc7be8b783cdd80d1bd19f67d5dd7e366b..f653f2f2d1321929b3435294d31ab3733f7aa51b 100644 --- a/Code/IO/otbImageSeriesFileReader.h +++ b/Code/IO/otbImageSeriesFileReader.h @@ -414,7 +414,7 @@ protected: /** * Tests the coherency of the Meta File (especifically band selection) with the image types */ - virtual void TestBandSelection(std::vector<unsigned int>& bands){} + virtual void TestBandSelection(std::vector<unsigned int>& itkNotUsed(bands)){} /** GenerateData * This method will be specialised if template definitions follow: diff --git a/Code/IO/otbImageSeriesFileReaderBase.h b/Code/IO/otbImageSeriesFileReaderBase.h index f74692a2493f01e8159aa75ea09a9977905b5f46..d072da0cfe497ba7c70aca4413d7edb6f117792a 100644 --- a/Code/IO/otbImageSeriesFileReaderBase.h +++ b/Code/IO/otbImageSeriesFileReaderBase.h @@ -153,7 +153,7 @@ protected: * order to add the appropriated path */ virtual void TestFileExistanceAndReadability(std::string& file, FileType fileType); - virtual void TestBandSelection(std::vector<unsigned int>& bands) {} + virtual void TestBandSelection(std::vector<unsigned int>& itkNotUsed(bands)) {} virtual void GenerateData(void); diff --git a/Code/IO/otbImageSeriesFileReaderBase.txx b/Code/IO/otbImageSeriesFileReaderBase.txx index 3852dfbb34073344853aa5aceae54cb738fb2620..364e844cd3f03cfe8ff7a13920e465153ad4fc15 100644 --- a/Code/IO/otbImageSeriesFileReaderBase.txx +++ b/Code/IO/otbImageSeriesFileReaderBase.txx @@ -332,7 +332,7 @@ ImageSeriesFileReaderBase<TImage, TInternalImage> template <class TImage, class TInternalImage> void ImageSeriesFileReaderBase<TImage, TInternalImage> -::GenerateData(unsigned int idx) +::GenerateData(unsigned int itkNotUsed(idx)) { std::ostringstream msg; msg << "Something wrong... Check the template definition of this class in the program...\n"; diff --git a/Code/IO/otbJPEG2000ImageIO.cxx b/Code/IO/otbJPEG2000ImageIO.cxx index dc2a63bd4cd43f04148a718cf6247f7d1c41094c..a4dc4276d2c233cf3009febb7fe471fb4bd949b1 100644 --- a/Code/IO/otbJPEG2000ImageIO.cxx +++ b/Code/IO/otbJPEG2000ImageIO.cxx @@ -669,7 +669,7 @@ JPEG2000TileCache::~JPEG2000TileCache() void JPEG2000TileCache::EstimateTileCacheSize(unsigned int originalWidthTile, unsigned int originalHeightTile, unsigned int nbComponent, - unsigned int precision, + unsigned int itkNotUsed(precision), unsigned int resolution) { this->m_TileCacheSizeInByte = originalWidthTile * originalHeightTile diff --git a/Code/IO/otbKmzProductWriter.txx b/Code/IO/otbKmzProductWriter.txx index 79acc7da8b4708bdaf4a80276f6938f3d0179cf8..c5bfec7de628915aafe12a368ac1478e9d521261 100644 --- a/Code/IO/otbKmzProductWriter.txx +++ b/Code/IO/otbKmzProductWriter.txx @@ -484,7 +484,7 @@ KmzProductWriter<TInputImage> m_ResampleVectorImage->TransformContinuousIndexToPhysicalPoint(indexTile, inputPoint); outputPoint = m_Transform->TransformPoint(inputPoint); double east = outputPoint[0]; - + // Compute center value (lat / long) indexTile = indexRef; indexTile[0] += halfSizeTile[0]; @@ -500,7 +500,7 @@ KmzProductWriter<TInputImage> m_ResampleVectorImage->TransformContinuousIndexToPhysicalPoint(indexTile, inputPoint); outputPoint = m_Transform->TransformPoint(inputPoint); OutputPointType upperLeftCorner = outputPoint; - + // Compute lower left corner indexTile[1] += sizeTile[1]; m_ResampleVectorImage->TransformContinuousIndexToPhysicalPoint(indexTile, inputPoint); @@ -634,7 +634,7 @@ KmzProductWriter<TInputImage> double south, double east, double west, - bool extended) + bool itkNotUsed(extended)) { // Give a name to the root file std::ostringstream kmlname; @@ -883,7 +883,7 @@ KmzProductWriter<TInputImage> template <class TInputImage> void KmzProductWriter<TInputImage> -::GenerateKMLExtended(const std::string& pathname, int depth, int x, int y, +::GenerateKMLExtended(const std::string& pathname, int depth, int itkNotUsed(x), int y, OutputPointType lowerLeft, OutputPointType lowerRight, OutputPointType upperRight, OutputPointType upperLeft) { @@ -939,7 +939,7 @@ template <class TInputImage> void KmzProductWriter<TInputImage> ::GenerateKML(const std::string& pathname, int depth, - int x, int y, double north, double south, + int itkNotUsed(x), int y, double north, double south, double east, double west) { std::ostringstream kmlname; @@ -990,10 +990,10 @@ template <class TInputImage> void KmzProductWriter<TInputImage> ::GenerateKMLExtendedWithLink(const std::string& pathname, - int depth, int x, int y, int tileStartX, int tileStartY, - OutputPointType lowerLeft, OutputPointType lowerRight, - OutputPointType upperRight, OutputPointType upperLeft, - double centerLong, double centerLat) + int depth, int itkNotUsed(x), int y, int tileStartX, int tileStartY, + OutputPointType lowerLeft, OutputPointType lowerRight, + OutputPointType upperRight, OutputPointType upperLeft, + double centerLong, double centerLat) { std::ostringstream kmlname; kmlname << pathname; @@ -1175,8 +1175,8 @@ template <class TInputImage> void KmzProductWriter<TInputImage> ::GenerateKMLWithLink(const std::string& pathname, - int depth, int x, int y, int tileStartX, int tileStartY, - double north, double south, double east, double west, double centerLong, double centerLat) + int depth, int itkNotUsed(x), int y, int tileStartX, int tileStartY, + double north, double south, double east, double west, double centerLong, double centerLat) { std::ostringstream kmlname; kmlname << pathname; @@ -1402,7 +1402,7 @@ KmzProductWriter<TInputImage> template <class TInputImage> std::string KmzProductWriter<TInputImage> -::GetCuttenFileName(const std::string& description, unsigned int idx) +::GetCuttenFileName(const std::string& itkNotUsed(description), unsigned int idx) { std::string currentImageName; std::string tempName; diff --git a/Code/Learning/otbLibSVMMachineLearningModel.txx b/Code/Learning/otbLibSVMMachineLearningModel.txx index 100193c8604ce3ea632ce09fbfc28cd8655e1641..131db547b7a1dd90aa72e12a6414f39c5c261a24 100644 --- a/Code/Learning/otbLibSVMMachineLearningModel.txx +++ b/Code/Learning/otbLibSVMMachineLearningModel.txx @@ -94,7 +94,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue> template <class TInputValue, class TOutputValue> void LibSVMMachineLearningModel<TInputValue,TOutputValue> -::Save(const std::string & filename, const std::string & name) +::Save(const std::string & filename, const std::string & itkNotUsed(name)) { m_SVMestimator->GetModel()->SaveModel(filename.c_str()); } @@ -102,7 +102,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue> template <class TInputValue, class TOutputValue> void LibSVMMachineLearningModel<TInputValue,TOutputValue> -::Load(const std::string & filename, const std::string & name) +::Load(const std::string & filename, const std::string & itkNotUsed(name)) { m_SVMestimator->GetModel()->LoadModel(filename.c_str()); } @@ -139,7 +139,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue> template <class TInputValue, class TOutputValue> bool LibSVMMachineLearningModel<TInputValue,TOutputValue> -::CanWriteFile(const std::string & file) +::CanWriteFile(const std::string & itkNotUsed(file)) { return false; } diff --git a/Code/Learning/otbSOMImageClassificationFilter.txx b/Code/Learning/otbSOMImageClassificationFilter.txx index cd02384db215717bfaacd96fb4b0e41526e456ef..7b2331eed9249908369e716778fe434ddff8e7e1 100644 --- a/Code/Learning/otbSOMImageClassificationFilter.txx +++ b/Code/Learning/otbSOMImageClassificationFilter.txx @@ -71,7 +71,7 @@ SOMImageClassificationFilter<TInputImage, TOutputImage, TSOMMap, TMaskImage> template <class TInputImage, class TOutputImage, class TSOMMap, class TMaskImage> void SOMImageClassificationFilter<TInputImage, TOutputImage, TSOMMap, TMaskImage> -::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) +::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId)) { InputImageConstPointerType inputPtr = this->GetInput(); MaskImageConstPointerType inputMaskPtr = this->GetInputMask(); diff --git a/Code/ObjectDetection/otbStatisticsXMLFileReader.txx b/Code/ObjectDetection/otbStatisticsXMLFileReader.txx index c7567199e3099ba41886fde0fb0f747590dcd0e0..5068aba305dfe33711dab7ef08be470892142c14 100644 --- a/Code/ObjectDetection/otbStatisticsXMLFileReader.txx +++ b/Code/ObjectDetection/otbStatisticsXMLFileReader.txx @@ -134,7 +134,7 @@ StatisticsXMLFileReader<TMeasurementVector> template < class TMeasurementVector > void StatisticsXMLFileReader<TMeasurementVector> -::PrintSelf(std::ostream& os, itk::Indent indent) const +::PrintSelf(std::ostream& itkNotUsed(os), itk::Indent itkNotUsed(indent)) const { // Call superclass implementation //Superclass::PrintSelf(os, indent); diff --git a/Code/ObjectDetection/otbStatisticsXMLFileWriter.txx b/Code/ObjectDetection/otbStatisticsXMLFileWriter.txx index ab43ed7921b201896101b38c0fc6a64dbf598cda..a13ef4897b642e278bbb54ad246aff53b74a8ed7 100644 --- a/Code/ObjectDetection/otbStatisticsXMLFileWriter.txx +++ b/Code/ObjectDetection/otbStatisticsXMLFileWriter.txx @@ -118,7 +118,7 @@ StatisticsXMLFileWriter<TMeasurementVector> template < class TMeasurementVector > void StatisticsXMLFileWriter<TMeasurementVector> -::PrintSelf(std::ostream& os, itk::Indent indent) const +::PrintSelf(std::ostream& itkNotUsed(os), itk::Indent itkNotUsed(indent)) const { // Call superclass implementation //Superclass::PrintSelf(os, indent); diff --git a/Code/Projections/otbGeometriesProjectionFilter.cxx b/Code/Projections/otbGeometriesProjectionFilter.cxx index aff8b27c7b1daaad6772105bf478a4d12d60588f..7d73f317d0d95c2531aa527db4e569499d08edc1 100644 --- a/Code/Projections/otbGeometriesProjectionFilter.cxx +++ b/Code/Projections/otbGeometriesProjectionFilter.cxx @@ -214,7 +214,7 @@ void otb::GeometriesProjectionFilter::DoFinalizeInitialisation() /*virtual*/ OGRSpatialReference* otb::GeometriesProjectionFilter::DoDefineNewLayerSpatialReference( - ogr::Layer const& source) const + ogr::Layer const& itkNotUsed(source)) const { if (!m_OutputProjectionRef.empty()) { diff --git a/Code/Testing/otbCurlHelperStub.cxx b/Code/Testing/otbCurlHelperStub.cxx index 802f94a2983e1ba4e5c19811475671c8dc85223a..29ba95802aa53a1f85480295871bca4cfc623d70 100644 --- a/Code/Testing/otbCurlHelperStub.cxx +++ b/Code/Testing/otbCurlHelperStub.cxx @@ -25,7 +25,7 @@ namespace otb { -bool CurlHelperStub::TestUrlAvailability(const std::string& url) const +bool CurlHelperStub::TestUrlAvailability(const std::string& itkNotUsed(url)) const { itkExceptionMacro(<< "otbCurlHelperStub: method undefined"); return -1; @@ -84,14 +84,14 @@ int CurlHelperStub::RetrieveFile(const std::ostringstream& urlStream, std::strin return -1; } -int CurlHelperStub::RetrieveFile(const std::string& urlString, std::string filename) const +int CurlHelperStub::RetrieveFile(const std::string& itkNotUsed(urlString), std::string itkNotUsed(filename)) const { itkExceptionMacro(<< "otbCurlHelperStub: method undefined"); return -1; } -int CurlHelperStub::RetrieveFileMulti(const std::vector<std::string>& listURLs, - const std::vector<std::string>& listFiles, int maxConnect) const +int CurlHelperStub::RetrieveFileMulti(const std::vector<std::string>& itkNotUsed(listURLs), + const std::vector<std::string>& itkNotUsed(listFiles), int itkNotUsed(maxConnect)) const { itkExceptionMacro(<< "otbCurlHelperStub: method undefined"); return -1; diff --git a/Code/Testing/otbTestHelper.cxx b/Code/Testing/otbTestHelper.cxx index c3c301390c15062d163f71ed2d1fdebde7fba493..d57828156bf18f75aa8b4d46feb6a7f3016d4f4d 100644 --- a/Code/Testing/otbTestHelper.cxx +++ b/Code/Testing/otbTestHelper.cxx @@ -1550,7 +1550,7 @@ void TestHelper::AddWhiteSpace(const std::string& strIn, std::string &strOut) co keysOut.push_back(" , "); keysOut.push_back(" </"); keysOut.push_back("> "); - + for (unsigned int it = 0; it < keys.size(); ++it) { @@ -1727,7 +1727,7 @@ bool TestHelper::CompareLines(const std::string& strfileref, etatPrec = etatCour; ++i; } - + // test last part if (etatCour == ETAT_CHAR) { diff --git a/Code/UtilitiesAdapters/ITKPendingPatches/otbWarpImageFilter.txx b/Code/UtilitiesAdapters/ITKPendingPatches/otbWarpImageFilter.txx index ccf040cf90718eba309320dc7bbf1b7182c7dd67..1926ec554e72bafbe3c77059618c7f1f4856ecd3 100644 --- a/Code/UtilitiesAdapters/ITKPendingPatches/otbWarpImageFilter.txx +++ b/Code/UtilitiesAdapters/ITKPendingPatches/otbWarpImageFilter.txx @@ -35,7 +35,7 @@ template <class PixelType> unsigned int PixelSizeFinder(itk::VariableLengthVecto { return pix.Size(); } -template <class PixelType> unsigned int PixelSizeFinder(PixelType pix) +template <class PixelType> unsigned int PixelSizeFinder(PixelType itkNotUsed(pix)) { return PixelType::Dimension; } diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx index 45b0dc1ade13108abc6f31051457cafd88643f39..31bc5ca352d61ae5465ff0860988fd5423603e48 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx +++ b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx @@ -215,7 +215,7 @@ void otb::GeometriesToGeometriesFilter::GenerateData(void ) /*virtual*/ OGRSpatialReference* otb::GeometriesToGeometriesFilter::DoDefineNewLayerSpatialReference( - ogr::Layer const& source) const + ogr::Layer const& itkNotUsed(source)) const { return 0; } @@ -229,7 +229,7 @@ OGRwkbGeometryType otb::GeometriesToGeometriesFilter::DoDefineNewLayerGeometryTy /*virtual*/ std::vector<std::string> otb::GeometriesToGeometriesFilter::DoDefineNewLayerOptions( - ogr::Layer const& source) const + ogr::Layer const& itkNotUsed(source)) const { return std::vector<std::string>(); } diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.h b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.h index d7dfa2985b1c5e7cf9c849f9d066c1687fa754eb..311c49289f6c5f471a48d11ca2006dc5b6a7e7d7 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.h +++ b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.h @@ -181,7 +181,7 @@ struct FieldCopyTransformation * \param[in] inoutFeature \c Feature to change. * \throw Nothing */ - void fieldsTransform(ogr::Feature const& inoutFeature) const + void fieldsTransform(ogr::Feature const& itkNotUsed(inoutFeature)) const { // default => do nothing for in-place transformation } diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapper.cxx b/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapper.cxx index 25b1bd5870eceadaccb68aef733dfea061e4eab8..a424d83523c4211d6628a72d3d3cbca9c8fa7a61 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapper.cxx +++ b/Code/UtilitiesAdapters/OGRAdapters/otbOGRDataSourceWrapper.cxx @@ -686,7 +686,7 @@ void otb::ogr::DataSource::PrintSelf( } } -/*virtual*/ void otb::ogr::DataSource::Graft(const itk::DataObject * data) +/*virtual*/ void otb::ogr::DataSource::Graft(const itk::DataObject * itkNotUsed(data)) { assert(! "Disabled to check if it makes sense..."); } diff --git a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx index 189372447b47e98cac1e36ac8b94c5a307fe0f0b..c6374f145487157830ace5756b226cdc6a9be488 100644 --- a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx +++ b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx @@ -612,7 +612,7 @@ CommandLineLauncher::ParamResultType CommandLineLauncher::LoadParameters() return OKPARAM; } -void CommandLineLauncher::LinkWatchers(itk::Object * caller, const itk::EventObject & event) +void CommandLineLauncher::LinkWatchers(itk::Object * itkNotUsed(caller), const itk::EventObject & event) { // Report the progress only if asked if (m_ReportProgress) diff --git a/Testing/Code/BasicFilters/otbAmplitudeFunctorTest.cxx b/Testing/Code/BasicFilters/otbAmplitudeFunctorTest.cxx index dded91db1d8ef41f501a8d1142eb03668e217d28..1c7b1a0674eaa236492910af7a28b23105d8a942 100644 --- a/Testing/Code/BasicFilters/otbAmplitudeFunctorTest.cxx +++ b/Testing/Code/BasicFilters/otbAmplitudeFunctorTest.cxx @@ -22,7 +22,7 @@ #include "itkRGBPixel.h" #include "itkRGBAPixel.h" -int otbAmplitudeFunctorTest(int argc, char * argv[]) +int otbAmplitudeFunctorTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double ScalarType; diff --git a/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctor.cxx b/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctor.cxx index 0d176df34345965a8cafcdce689f397fa50ecb50..16f414581cd52fea909479351eb28dee61f07872 100644 --- a/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctor.cxx +++ b/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctor.cxx @@ -28,7 +28,7 @@ #include "itkComplexToPhaseImageFilter.h" #include "itkShiftScaleImageFilter.h" -int otbAmplitudePhaseToRGBFunctor(int argc, char * argv[]) +int otbAmplitudePhaseToRGBFunctor(int itkNotUsed(argc), char * argv[]) { typedef float PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctorNew.cxx b/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctorNew.cxx index 54dbcb9901a78a361970f4b89ba0d9cba6a27930..321bf269d50775d19a57ddbb5a5e5dbcfc9515c2 100644 --- a/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctorNew.cxx +++ b/Testing/Code/BasicFilters/otbAmplitudePhaseToRGBFunctorNew.cxx @@ -23,7 +23,7 @@ #include "itkTernaryFunctorImageFilter.h" #include "otbAmplitudePhaseToRGBFunctor.h" -int otbAmplitudePhaseToRGBFunctorNew(int argc, char * argv[]) +int otbAmplitudePhaseToRGBFunctorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbAngularProjectionBinaryImageFilter.cxx b/Testing/Code/BasicFilters/otbAngularProjectionBinaryImageFilter.cxx index 4d9d13d8ca7b776e0953b44d2e0029797f7cfafa..0712a8113ae4772a22476e87998b8a76b6f1ae6b 100644 --- a/Testing/Code/BasicFilters/otbAngularProjectionBinaryImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbAngularProjectionBinaryImageFilter.cxx @@ -27,7 +27,7 @@ #include "otbAngularProjectionBinaryImageFilter.h" -int otbAngularProjectionBinaryImageFilterNewTest ( int argc, char * argv[] ) +int otbAngularProjectionBinaryImageFilterNewTest ( int itkNotUsed(argc), char * argv[] ) { const unsigned int Dimension = 2; typedef float PixelType; @@ -40,7 +40,7 @@ int otbAngularProjectionBinaryImageFilterNewTest ( int argc, char * argv[] ) return EXIT_SUCCESS; } -int otbAngularProjectionBinaryImageFilterTest ( int argc, char * argv[] ) +int otbAngularProjectionBinaryImageFilterTest ( int itkNotUsed(argc), char * argv[] ) { typedef otb::CommandLineArgumentParser ParserType; ParserType::Pointer parser = ParserType::New(); @@ -120,6 +120,3 @@ int otbAngularProjectionBinaryImageFilterTest ( int argc, char * argv[] ) } return EXIT_SUCCESS; } - - - diff --git a/Testing/Code/BasicFilters/otbAngularProjectionImageFilterNew.cxx b/Testing/Code/BasicFilters/otbAngularProjectionImageFilterNew.cxx index c1effc4ce2f08e37684985324d8f84806419dc89..3bd460ed34c5dc01c7064f43ad3f4e7498a8779b 100644 --- a/Testing/Code/BasicFilters/otbAngularProjectionImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbAngularProjectionImageFilterNew.cxx @@ -26,7 +26,7 @@ #include "otbAngularProjectionImageFilter.h" -int otbAngularProjectionImageFilterNew ( int argc, char * argv[] ) +int otbAngularProjectionImageFilterNew ( int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; @@ -41,5 +41,3 @@ int otbAngularProjectionImageFilterNew ( int argc, char * argv[] ) FilterType::Pointer filter = FilterType::New(); return EXIT_SUCCESS; } - - diff --git a/Testing/Code/BasicFilters/otbAngularProjectionSetImageFilterNew.cxx b/Testing/Code/BasicFilters/otbAngularProjectionSetImageFilterNew.cxx index 5c012ae317089d49475e5c2aa4baf35871eb7608..8d9460e99d200c8461293bce08d44bc80bc76c37 100644 --- a/Testing/Code/BasicFilters/otbAngularProjectionSetImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbAngularProjectionSetImageFilterNew.cxx @@ -27,7 +27,7 @@ #include "otbAngularProjectionSetImageFilter.h" -int otbAngularProjectionSetImageFilterNew ( int argc, char * argv[] ) +int otbAngularProjectionSetImageFilterNew ( int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; const unsigned int SpaceDimension = 3; @@ -44,4 +44,3 @@ int otbAngularProjectionSetImageFilterNew ( int argc, char * argv[] ) FilterType::Pointer filter = FilterType::New(); return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx b/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx index eb8ec23a02f4d9ed95b9aec00519ea700d64776b..3b0fe2a1dfc2e247871df9bc2dbf4774eff4d176 100644 --- a/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx +++ b/Testing/Code/BasicFilters/otbBCOInterpolateImageFunction.cxx @@ -26,7 +26,7 @@ #include "otbStreamingResampleImageFilter.h" -int otbBCOInterpolateImageFunctionNew(int argc, char * argv[]) +int otbBCOInterpolateImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::BCOInterpolateImageFunction<ImageType, double> InterpolatorType; @@ -99,7 +99,7 @@ int otbBCOInterpolateImageFunction(int argc, char * argv[]) } -int otbBCOInterpolateImageFunctionOverVectorImageNew(int argc, char * argv[]) +int otbBCOInterpolateImageFunctionOverVectorImageNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorImage<double, 2> ImageType; typedef otb::BCOInterpolateImageFunction<ImageType, double> InterpolatorType; @@ -171,7 +171,7 @@ int otbBCOInterpolateImageFunctionOverVectorImage(int argc, char * argv[]) } -int otbBCOInterpolateImageFunctionTest(int argc, char * argv[]) +int otbBCOInterpolateImageFunctionTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; @@ -214,7 +214,7 @@ int otbBCOInterpolateImageFunctionTest(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbBCOInterpolateImageFunctionVectorImageTest(int argc, char * argv[]) +int otbBCOInterpolateImageFunctionVectorImageTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilter.cxx b/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilter.cxx index 2556f01e9875ecf261f8bbaaa2212986ba97c770..08e09d6379c012e4b1542b6c9dced50bd907d08e 100644 --- a/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbBSplineDecompositionImageFilter(int argc, char * argv[]) +int otbBSplineDecompositionImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilterNew.cxx b/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilterNew.cxx index 0fdd4deab90ea212780af64a8b1b2a5f39aaa15a..f42c48a28c8ffba8822296c20767b7fe39359564 100644 --- a/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbBSplineDecompositionImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbBSplineDecompositionImageFilter.h" #include "otbImage.h" -int otbBSplineDecompositionImageFilterNew(int argc, char * argv[]) +int otbBSplineDecompositionImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::BSplineDecompositionImageFilter<ImageType, ImageType> BSplineDecompositionImageFilterType; diff --git a/Testing/Code/BasicFilters/otbBSplineInterpolateImageFunctionNew.cxx b/Testing/Code/BasicFilters/otbBSplineInterpolateImageFunctionNew.cxx index d527cc641a0191ebc4b18ead42fad8d48b2ced7c..97574bf1cac3f25ecdcc4ebbfc5991826aef07c1 100644 --- a/Testing/Code/BasicFilters/otbBSplineInterpolateImageFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbBSplineInterpolateImageFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbBSplineInterpolateImageFunction.h" #include "otbImage.h" -int otbBSplineInterpolateImageFunctionNew(int argc, char * argv[]) +int otbBSplineInterpolateImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::BSplineInterpolateImageFunction<ImageType, double, double> InterpolatorType; diff --git a/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx b/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx index 65d83c203ad527da5d44af867bd5798eb31c8e99..157ca0d7a420d4d4c7235328f49cf27765ac9d9e 100644 --- a/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbBandMathImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbBandMathImageFilter.h" #include "otbImageFileWriter.h" -int otbBandMathImageFilterNew( int argc, char* argv[]) +int otbBandMathImageFilterNew( int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef double PixelType; //typedef float PixelType; @@ -38,7 +38,7 @@ int otbBandMathImageFilterNew( int argc, char* argv[]) return EXIT_SUCCESS; } -int otbBandMathImageFilter( int argc, char* argv[]) +int otbBandMathImageFilter( int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef double PixelType; //typedef float PixelType; @@ -178,7 +178,7 @@ int otbBandMathImageFilter( int argc, char* argv[]) } -int otbBandMathImageFilterWithIdx( int argc, char* argv[]) +int otbBandMathImageFilterWithIdx( int itkNotUsed(argc), char* argv[]) { const char * outfname1 = argv[1]; const char * outfname2 = argv[2]; diff --git a/Testing/Code/BasicFilters/otbBinaryImageDensityFunction.cxx b/Testing/Code/BasicFilters/otbBinaryImageDensityFunction.cxx index a8dc85bb82d9b6aa96e8f7a772b62280576b7c8d..09fcda2cb439b325093293146aedb9b20f65d159 100644 --- a/Testing/Code/BasicFilters/otbBinaryImageDensityFunction.cxx +++ b/Testing/Code/BasicFilters/otbBinaryImageDensityFunction.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include <iostream> -int otbBinaryImageDensityFunction(int argc, char* argv[]) +int otbBinaryImageDensityFunction(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculator.cxx b/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculator.cxx index d0ccf586e2b95307aad88337ba36ae6f0a8c9bf7..df8df0882fe4bce99d89e68cfbf0ffcc81c7f4cd 100644 --- a/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculator.cxx +++ b/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculator.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageList.h" -int otbBinaryImageMinimalBoundingRegionCalculator(int argc, char* argv[]) +int otbBinaryImageMinimalBoundingRegionCalculator(int itkNotUsed(argc), char* argv[]) { const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx b/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx index 092e436627957f28e5d791ef55aca1cb46287371..3400f8c7f41cb6b5565f722748d1d31a7e20eba9 100644 --- a/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx +++ b/Testing/Code/BasicFilters/otbBinaryImageMinimalBoundingRegionCalculatorNew.cxx @@ -19,7 +19,7 @@ #include "otbImage.h" #include "otbBinaryImageMinimalBoundingRegionCalculator.h" -int otbBinaryImageMinimalBoundingRegionCalculatorNew(int argc, char* argv[]) +int otbBinaryImageMinimalBoundingRegionCalculatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbBinaryImageToDensityImageFilter.cxx b/Testing/Code/BasicFilters/otbBinaryImageToDensityImageFilter.cxx index c5f4a49f3b653438c89863c27bb1525f786a89d4..903db7a054b3b2790cd63107a424538a3d34bf37 100644 --- a/Testing/Code/BasicFilters/otbBinaryImageToDensityImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbBinaryImageToDensityImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbBinaryImageDensityFunction.h" #include "otbBinaryImageToDensityImageFilter.h" -int otbBinaryImageToDensityImageFilter(int argc, char* argv[]) +int otbBinaryImageToDensityImageFilter(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilter.cxx b/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilter.cxx index cbefce7920cf8e9a1a0855a93a15fae65bc673e5..54f47e94ec1d46aa5adf20a8bed689b7ec045194 100644 --- a/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilter.cxx @@ -26,7 +26,7 @@ #include "itkImageRegionConstIterator.h" #include "itkImageRegionIterator.h" -int otbBoxAndWhiskerImageFilter(int argc, char * argv[]) +int otbBoxAndWhiskerImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilterNew.cxx b/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilterNew.cxx index f8e8a7a26096eda81f0152c6b30d622710141086..8b1c41f187dc18b56c8d0c25f5302ef301f5c7ed 100644 --- a/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbBoxAndWhiskerImageFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbVectorImage.h" #include "otbBoxAndWhiskerImageFilter.h" -int otbBoxAndWhiskerImageFilterNew(int argc, char * argv[]) +int otbBoxAndWhiskerImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbChangeLabelImageFilter.cxx b/Testing/Code/BasicFilters/otbChangeLabelImageFilter.cxx index 1d041b0161212daadd392fb4551f9569148d14e6..79054be34c8b8b13df0b4b0d26be215a6f436814 100644 --- a/Testing/Code/BasicFilters/otbChangeLabelImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbChangeLabelImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbImageFileReader.h" -int otbChangeLabelImageFilter(int argc, char * argv[]) +int otbChangeLabelImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int ImageDimension = 2; const char * inputFilename(argv[1]); diff --git a/Testing/Code/BasicFilters/otbChangeLabelImageFilterNew.cxx b/Testing/Code/BasicFilters/otbChangeLabelImageFilterNew.cxx index 3ec49a19b80290a01b9895187c79252f1d6d41d9..09c8b204fab5ef5ab8b9142b8fc4baf3a9e358da 100644 --- a/Testing/Code/BasicFilters/otbChangeLabelImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbChangeLabelImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "itkChangeLabelImageFilter.h" #include "otbImage.h" -int otbChangeLabelImageFilterNew(int argc, char * argv[]) +int otbChangeLabelImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int ImageDimension = 2; diff --git a/Testing/Code/BasicFilters/otbClampImageFilter.cxx b/Testing/Code/BasicFilters/otbClampImageFilter.cxx index 440577dc4252f783bd112b52daf68b6d77405264..6859af814f7395fa0dd4af9c75045d53223779bd 100644 --- a/Testing/Code/BasicFilters/otbClampImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbClampImageFilter.cxx @@ -35,7 +35,7 @@ typedef otb::Image<OutputPixelType, Dimension> OutputImageType; typedef otb::ClampImageFilter<InputImageType, OutputImageType> FilterType; -int otbClampImageFilterNew(int argc, char* argv[]) +int otbClampImageFilterNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { /** instantiating the filter */ FilterType::Pointer filter = FilterType::New(); @@ -43,7 +43,7 @@ int otbClampImageFilterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbClampImageFilterTest(int argc, char* argv[]) +int otbClampImageFilterTest(int itkNotUsed(argc), char* argv[]) { typedef otb::ImageFileReader<InputImageType> ReaderType; typedef otb::ImageFileWriter<OutputImageType> WriterType; diff --git a/Testing/Code/BasicFilters/otbClampVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbClampVectorImageFilter.cxx index 7f372f70ef2613e89fcf1983efc1419bc80ef39f..0a3455647a336e0217b8cd54b51ae2de0bfbfc97 100644 --- a/Testing/Code/BasicFilters/otbClampVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbClampVectorImageFilter.cxx @@ -35,7 +35,7 @@ typedef otb::VectorImage<OutputPixelType, Dimension> OutputImageType; typedef otb::ClampVectorImageFilter<InputImageType, OutputImageType> FilterType; -int otbClampVectorImageFilterNew(int argc, char* argv[]) +int otbClampVectorImageFilterNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { /** instantiating the filter */ FilterType::Pointer filter = FilterType::New(); @@ -43,7 +43,7 @@ int otbClampVectorImageFilterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbClampVectorImageFilterTest(int argc, char* argv[]) +int otbClampVectorImageFilterTest(int itkNotUsed(argc), char* argv[]) { typedef otb::ImageFileReader<InputImageType> ReaderType; typedef otb::ImageFileWriter<OutputImageType> WriterType; diff --git a/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilter.cxx b/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilter.cxx index 20f2d2c514b433717de6e0c119afa9b1ae4b1391..ad4a0ebc3e7492b5c4857c25962d576628f7d480 100644 --- a/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilter.cxx +++ b/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbClosingOpeningMorphologicalFilter(int argc, char * argv[]) +int otbClosingOpeningMorphologicalFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const unsigned int Radius = atoi(argv[3]); diff --git a/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilterNew.cxx b/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilterNew.cxx index 7987e91d4acb9a648c3d648259341e950eb2fcf3..a92e3d76c10296b5f2b4386310a01f9759b6b69e 100644 --- a/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbClosingOpeningMorphologicalFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkBinaryBallStructuringElement.h" #include "otbImage.h" -int otbClosingOpeningMorphologicalFilterNew(int argc, char * argv[]) +int otbClosingOpeningMorphologicalFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/BasicFilters/otbComplexToVectorImageCastFilter.cxx b/Testing/Code/BasicFilters/otbComplexToVectorImageCastFilter.cxx index 760259c8876996647e81f11f82ec24bdcb03076d..6cdcaeecfbe9e3c3c6f7ec45b65a3eae6c166bb5 100644 --- a/Testing/Code/BasicFilters/otbComplexToVectorImageCastFilter.cxx +++ b/Testing/Code/BasicFilters/otbComplexToVectorImageCastFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" -int otbComplexToVectorImageCastFilterNew(int argc, char * argv[]) +int otbComplexToVectorImageCastFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef std::complex<float> ComplexType; typedef otb::VectorImage<ComplexType, 2> CplxImageType; @@ -39,7 +39,7 @@ int otbComplexToVectorImageCastFilterNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbComplexToVectorImageCastFilterTest(int argc, char * argv[]) +int otbComplexToVectorImageCastFilterTest(int itkNotUsed(argc), char * argv[]) { typedef std::complex<float> ComplexType; typedef otb::Image<ComplexType, 2> CplxImageType; diff --git a/Testing/Code/BasicFilters/otbConcatenateScalarValueImageFilterTest.cxx b/Testing/Code/BasicFilters/otbConcatenateScalarValueImageFilterTest.cxx index d10e96510a552c534cf1c1896da8a371ac25b7fd..9070504c32fa6583cc45f67520297e4ef2c75108 100644 --- a/Testing/Code/BasicFilters/otbConcatenateScalarValueImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbConcatenateScalarValueImageFilterTest.cxx @@ -29,14 +29,14 @@ typedef double PixelType; typedef otb::VectorImage<PixelType> ImageType; typedef otb::ConcatenateScalarValueImageFilter<ImageType, ImageType> FilterType; -int otbConcatenateScalarValueImageFilterNew(int argc, char * argv[]) +int otbConcatenateScalarValueImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { FilterType::Pointer filter = FilterType::New(); std::cout << filter << std::endl; return EXIT_SUCCESS; } -int otbConcatenateScalarValueImageFilterTest(int argc, char * argv[]) +int otbConcatenateScalarValueImageFilterTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { ImageType::Pointer image = ImageType::New(); diff --git a/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx b/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx index b59f13af1aac4c5a354ec2eb82e7a7976c90fe24..be873fca467daa93fec2290512f16754bd6ac74e 100644 --- a/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx +++ b/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx @@ -32,7 +32,7 @@ typedef otb::VectorDataFileReader<VectorDataType> ReaderType; typedef otb::VectorDataFileWriter<VectorDataType> WriterType; typedef otb::ConcatenateVectorDataFilter<VectorDataType> ConcatenateFilterType; -int otbConcatenateVectorDataFilterNew (int argc, char * argv[]) +int otbConcatenateVectorDataFilterNew (int itkNotUsed(argc), char ** itkNotUsed(argv)) { ConcatenateFilterType::Pointer concatenate = ConcatenateFilterType::New(); return EXIT_SUCCESS; diff --git a/Testing/Code/BasicFilters/otbConnectedComponentMuParserFunctorTest.cxx b/Testing/Code/BasicFilters/otbConnectedComponentMuParserFunctorTest.cxx index fe7dbad961156776a8aaea00bb7fdaa6f97a9d3b..b9b4b8b99be37119314bca7cee1543eda61bfb31 100644 --- a/Testing/Code/BasicFilters/otbConnectedComponentMuParserFunctorTest.cxx +++ b/Testing/Code/BasicFilters/otbConnectedComponentMuParserFunctorTest.cxx @@ -31,11 +31,9 @@ -int otbConnectedComponentMuParserFunctorTest(int argc, char * argv[]) +int otbConnectedComponentMuParserFunctorTest(int argc, char *argv[]) { - - const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; const char * expression = argv[3]; diff --git a/Testing/Code/BasicFilters/otbContinuousMinimumMaximumImageCalculatorNew.cxx b/Testing/Code/BasicFilters/otbContinuousMinimumMaximumImageCalculatorNew.cxx index 8c5d74504bfbd771d0be1d31ae0f92412f721ff5..5bae11dd708b778871693d96694b0e8298c9193f 100644 --- a/Testing/Code/BasicFilters/otbContinuousMinimumMaximumImageCalculatorNew.cxx +++ b/Testing/Code/BasicFilters/otbContinuousMinimumMaximumImageCalculatorNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "otbContinuousMinimumMaximumImageCalculator.h" -int otbContinuousMinimumMaximumImageCalculatorNew(int argc, char * argv[]) +int otbContinuousMinimumMaximumImageCalculatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int ImageDimension = 2; diff --git a/Testing/Code/BasicFilters/otbConvolutionImageFilter.cxx b/Testing/Code/BasicFilters/otbConvolutionImageFilter.cxx index 0da58d1bf9ea642db26026cd5b06ca070dd242a4..14a65d11b23fcb52101e78449edfa04c9fe5e048 100644 --- a/Testing/Code/BasicFilters/otbConvolutionImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbConvolutionImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbConvolutionImageFilter.h" #include "itkConstantBoundaryCondition.h" -int otbConvolutionImageFilter(int argc, char * argv[]) +int otbConvolutionImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/BasicFilters/otbConvolutionImageFilterNew.cxx b/Testing/Code/BasicFilters/otbConvolutionImageFilterNew.cxx index bc60e986e9a8a48f29df582a5184f655f1e4c398..de2e9bde7b0364413439bc5e3f782bdcb25c3c02 100644 --- a/Testing/Code/BasicFilters/otbConvolutionImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbConvolutionImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "otbConvolutionImageFilter.h" -int otbConvolutionImageFilterNew(int argc, char * argv[]) +int otbConvolutionImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/BasicFilters/otbDBOverlapDataNodeFeatureFunction.cxx b/Testing/Code/BasicFilters/otbDBOverlapDataNodeFeatureFunction.cxx index facf3f9c8d3509b1cb7b51f72cec112ff0f1a6a3..56448e70740fc73fb2987cac71a6d7ec67f90207 100644 --- a/Testing/Code/BasicFilters/otbDBOverlapDataNodeFeatureFunction.cxx +++ b/Testing/Code/BasicFilters/otbDBOverlapDataNodeFeatureFunction.cxx @@ -24,7 +24,7 @@ #include "otbVectorDataFileWriter.h" #include "itkPreOrderTreeIterator.h" -int otbDBOverlapDataNodeFeatureFunctionNew(int argc, char* argv[]) +int otbDBOverlapDataNodeFeatureFunctionNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef double CoordRepType; typedef double PrecisionType; @@ -38,7 +38,7 @@ int otbDBOverlapDataNodeFeatureFunctionNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbDBOverlapDataNodeFeatureFunction(int argc, char* argv[]) +int otbDBOverlapDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * inputDB = argv[2]; diff --git a/Testing/Code/BasicFilters/otbEdgeDensityImageFilter.cxx b/Testing/Code/BasicFilters/otbEdgeDensityImageFilter.cxx index 5864457bb6f47365a35907ad7d05315714680b01..83f3b8a19f4c295a65756bee3b014daf8b2a0d1b 100644 --- a/Testing/Code/BasicFilters/otbEdgeDensityImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbEdgeDensityImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbEdgeDensityImageFilter(int argc, char* argv[]) +int otbEdgeDensityImageFilter(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbEdgeDetectorImageFilter.cxx b/Testing/Code/BasicFilters/otbEdgeDetectorImageFilter.cxx index dec5576600719c90243ea1189faae2bc0dbcabd0..d1569f78ca0a920960fe2e17dee13ef631b64223 100644 --- a/Testing/Code/BasicFilters/otbEdgeDetectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbEdgeDetectorImageFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileWriter.h" #include "itkSobelEdgeDetectionImageFilter.h" -int otbEdgeDetectorImageFilter(int argc, char* argv[]) +int otbEdgeDetectorImageFilter(int itkNotUsed(argc), char* argv[]) { typedef double PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilter.cxx b/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilter.cxx index eb5b7e5275ca4bed3a3022f78f4f3e0ab1288c7f..25d7ab38c2b63ff6d4bbc962fbb29d77b707f0e2 100644 --- a/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilter.cxx @@ -21,7 +21,7 @@ #include "otbVectorImage.h" -int otbEstimateInnerProductPCAImageFilter(int argc, char* argv[]) +int otbEstimateInnerProductPCAImageFilter(int itkNotUsed(argc), char* argv[]) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilterNew.cxx b/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilterNew.cxx index 65d12c7ce57e4e5d8d2e0d23a024487c51f01f60..4bb886ea2bcab98e1748cdd01c5176404735b06b 100644 --- a/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbEstimateInnerProductPCAImageFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbEstimateInnerProductPCAImageFilter.h" #include "otbVectorImage.h" -int otbEstimateInnerProductPCAImageFilterNew(int argc, char* argv[]) +int otbEstimateInnerProductPCAImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValue.cxx b/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValue.cxx index f556a8eb041c7db7d8a54d324d2a1356de2ef1a6..848a3fa9d1b67d7837c7f5a846128e8f7030bca7 100644 --- a/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValue.cxx +++ b/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValue.cxx @@ -23,7 +23,7 @@ #include "itkVariableLengthVector.h" #include "otbEuclideanDistanceMetricWithMissingValue.h" -int otbEuclideanDistanceMetricWithMissingValue(int argc, char * argv[]) +int otbEuclideanDistanceMetricWithMissingValue(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::VariableLengthVector<double> VectorType; diff --git a/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValueNew.cxx b/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValueNew.cxx index 4e4a2c3eccb2a65730bfe2f13d723c7279ed16b7..52a2f3373cbefac8407aa17a414808828f3c4b9c 100644 --- a/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValueNew.cxx +++ b/Testing/Code/BasicFilters/otbEuclideanDistanceMetricWithMissingValueNew.cxx @@ -23,7 +23,7 @@ #include "itkVariableLengthVector.h" #include "otbEuclideanDistanceMetricWithMissingValue.h" -int otbEuclideanDistanceMetricWithMissingValueNew(int argc, char * argv[]) +int otbEuclideanDistanceMetricWithMissingValueNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::VariableLengthVector<double> VectorType; diff --git a/Testing/Code/BasicFilters/otbFastICAImageFilter.cxx b/Testing/Code/BasicFilters/otbFastICAImageFilter.cxx index f4a16e0024f2fc736119325170e9d41557d31908..6300c56bf07801151a4b7de43c1e88609e2d9bb2 100644 --- a/Testing/Code/BasicFilters/otbFastICAImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbFastICAImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbFastICAImageFilter.h" #include "otbFastICAInternalOptimizerVectorImageFilter.h" -int otbFastICAInternalOptimizerVectorImageFilterNewTest ( int argc, char* argv[] ) +int otbFastICAInternalOptimizerVectorImageFilterNewTest ( int itkNotUsed(argc), char** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -35,7 +35,7 @@ int otbFastICAInternalOptimizerVectorImageFilterNewTest ( int argc, char* argv[] return EXIT_SUCCESS; } -int otbFastICAImageFilterNewTest ( int argc, char* argv[] ) +int otbFastICAImageFilterNewTest ( int itkNotUsed(argc), char** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -143,5 +143,3 @@ int otbFastICAImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - - diff --git a/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValue.cxx b/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValue.cxx index d10ecad8b325c68b418753a211f44ab8f779a657..ed2a12c0257798f51ca7bf487d189c3f6b4a87cc 100644 --- a/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValue.cxx +++ b/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValue.cxx @@ -24,7 +24,7 @@ #include "itkVariableLengthVector.h" #include "otbFlexibleDistanceWithMissingValue.h" -int otbFlexibleDistanceWithMissingValue(int argc, char * argv[]) +int otbFlexibleDistanceWithMissingValue(int itkNotUsed(argc), char * argv[]) { typedef itk::VariableLengthVector<double> VectorType; diff --git a/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValueNew.cxx b/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValueNew.cxx index 2d50973f7e8f2877073502718fe8372851284faf..3a480d2dcc7beb2b3add475a9f5a2f1819cc0012 100644 --- a/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValueNew.cxx +++ b/Testing/Code/BasicFilters/otbFlexibleDistanceWithMissingValueNew.cxx @@ -23,7 +23,7 @@ #include "itkVariableLengthVector.h" #include "otbFlexibleDistanceWithMissingValue.h" -int otbFlexibleDistanceWithMissingValueNew(int argc, char * argv[]) +int otbFlexibleDistanceWithMissingValueNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::VariableLengthVector<double> VectorType; diff --git a/Testing/Code/BasicFilters/otbFrostFilter.cxx b/Testing/Code/BasicFilters/otbFrostFilter.cxx index cae2373ea2503fc6bed0a590daba37f66b84cc5b..e2ec9c5808c9e422677b077ae055a812499aee6d 100644 --- a/Testing/Code/BasicFilters/otbFrostFilter.cxx +++ b/Testing/Code/BasicFilters/otbFrostFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbFrostFilter(int argc, char * argv[]) +int otbFrostFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbFrostFilterNew.cxx b/Testing/Code/BasicFilters/otbFrostFilterNew.cxx index 65cc44742fdba69243730c2e2e33ea15be9a419d..e7775d8de576b7a28119f12ee654625cb6f16a19 100644 --- a/Testing/Code/BasicFilters/otbFrostFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbFrostFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbFrostImageFilter.h" #include "otbImage.h" -int otbFrostFilterNew(int argc, char * argv[]) +int otbFrostFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef unsigned char OutputPixelType; diff --git a/Testing/Code/BasicFilters/otbFunctionToImageFilter.cxx b/Testing/Code/BasicFilters/otbFunctionToImageFilter.cxx index 7517d90ff668381894fe6361c5fcad8d6108a484..8f946e9a822cf58ed2f3172673090f88484ef6a9 100644 --- a/Testing/Code/BasicFilters/otbFunctionToImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbFunctionToImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbFunctionToImageFilter(int argc, char * argv[]) +int otbFunctionToImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbFunctionToImageFilterNew.cxx b/Testing/Code/BasicFilters/otbFunctionToImageFilterNew.cxx index 0dbda7c5d8570acbd1f51db607074c43b3ec3e3c..e6317050df06ae5157093649a494f3f8a966041e 100644 --- a/Testing/Code/BasicFilters/otbFunctionToImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbFunctionToImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbFunctionToImageFilter.h" #include "itkVarianceImageFunction.h" -int otbFunctionToImageFilterNew(int argc, char * argv[]) +int otbFunctionToImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilter.cxx b/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilter.cxx index b8adc0c0166cb7c5b649e748168b7cf3f25c8043..4d874f31df1d514dae34c556b8a45e1fb6512962 100644 --- a/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbFunctionWithNeighborhoodToImageFilter(int argc, char * argv[]) +int otbFunctionWithNeighborhoodToImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx b/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx index 235a7903a07e25b854ab2779c6873aaa3c16a597..34b736c6d0a677095748f319abbfcc0089adf730 100644 --- a/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbFunctionWithNeighborhoodToImageFilterNew.cxx @@ -55,7 +55,7 @@ private: OffsetType m_Offset; }; -int otbFunctionWithNeighborhoodToImageFilterNew(int argc, char * argv[]) +int otbFunctionWithNeighborhoodToImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbGaborFilterGeneratorNew.cxx b/Testing/Code/BasicFilters/otbGaborFilterGeneratorNew.cxx index b1db3aabc8ad3b9641ee00e72c8537c33aab1592..620fe13766b49a9a0fbb6fca482c30845d4d818d 100644 --- a/Testing/Code/BasicFilters/otbGaborFilterGeneratorNew.cxx +++ b/Testing/Code/BasicFilters/otbGaborFilterGeneratorNew.cxx @@ -18,7 +18,7 @@ #include "otbGaborFilterGenerator.h" -int otbGaborFilterGeneratorNew(int argc, char * argv[]) +int otbGaborFilterGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PrecisionType; typedef otb::GaborFilterGenerator<PrecisionType> GaborGeneratorType; diff --git a/Testing/Code/BasicFilters/otbHorizontalSobelVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbHorizontalSobelVectorImageFilter.cxx index 666222b7f6483f323a8ca0896336d280a2b5e990..b9bc048096ac9fa889543ccd7d72195c057c5d86 100644 --- a/Testing/Code/BasicFilters/otbHorizontalSobelVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbHorizontalSobelVectorImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbHorizontalSobelVectorImageFilter.h" -int otbHorizontalSobelVectorImageFilterNewTest ( int argc, char * argv[] ) +int otbHorizontalSobelVectorImageFilterNewTest ( int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; @@ -97,4 +97,3 @@ int otbHorizontalSobelVectorImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterNew.cxx b/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterNew.cxx index c77a2f2a09d17cb491bba03c358cb49d249f486d..7f1cf8afa8ad46f1a66c56eef1744a6c204fb358 100644 --- a/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbVectorImage.h" #include "otbImageAndVectorImageOperationFilter.h" -int otbImageAndVectorImageOperationFilterNew(int argc, char * argv[]) +int otbImageAndVectorImageOperationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; typedef otb::Image<PixelType, 2> ScalarImageType; diff --git a/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterTest.cxx b/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterTest.cxx index 7bac0dcd57ef70fec4071f08b86bf19691fd483b..700c26b2f529195d21aecafdf8829b4725c2e94c 100644 --- a/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbImageAndVectorImageOperationFilterTest.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbImageAndVectorImageOperationFilter.h" -int otbImageAndVectorImageOperationFilterTest(int argc, char * argv[]) +int otbImageAndVectorImageOperationFilterTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * invectfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbImageListToImageListApplyFilter.cxx b/Testing/Code/BasicFilters/otbImageListToImageListApplyFilter.cxx index fdee351980c88b29028f64be1989744dfbbe59a6..6fa2385b2048b0045d043e22f5c59d9346d58865 100644 --- a/Testing/Code/BasicFilters/otbImageListToImageListApplyFilter.cxx +++ b/Testing/Code/BasicFilters/otbImageListToImageListApplyFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageListToImageListApplyFilter(int argc, char * argv[]) +int otbImageListToImageListApplyFilter(int itkNotUsed(argc), char * argv[]) { char * infname1 = argv[1]; char * infname2 = argv[2]; diff --git a/Testing/Code/BasicFilters/otbImageListToImageListApplyFilterNew.cxx b/Testing/Code/BasicFilters/otbImageListToImageListApplyFilterNew.cxx index 03da7fe3d335f800565633aba52333a423a288bb..dbff42c85fa7671bf66ad50a1a445e37afb0a041 100644 --- a/Testing/Code/BasicFilters/otbImageListToImageListApplyFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbImageListToImageListApplyFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "itkMeanImageFilter.h" -int otbImageListToImageListApplyFilterNew(int argc, char * argv[]) +int otbImageListToImageListApplyFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbImageListToSingleImageFilterTest.cxx b/Testing/Code/BasicFilters/otbImageListToSingleImageFilterTest.cxx index 6f46fab9aa6496c6c386bc77dbaeb53224ca444d..3d8d881cf741f29805208be8fb3d968f85357194 100644 --- a/Testing/Code/BasicFilters/otbImageListToSingleImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbImageListToSingleImageFilterTest.cxx @@ -26,7 +26,7 @@ #include "otbImageFileWriter.h" #include "otbBandMathImageFilter.h" -int otbImageListToSingleImageFilterNew(int argc, char * argv[]) +int otbImageListToSingleImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; @@ -46,7 +46,7 @@ int otbImageListToSingleImageFilterNew(int argc, char * argv[]) -int otbImageListToSingleImageFilter(int argc, char * argv[]) +int otbImageListToSingleImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; char * infname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbImagePCAShapeModelEstimatorTest.cxx b/Testing/Code/BasicFilters/otbImagePCAShapeModelEstimatorTest.cxx index ceab42e10ff55b9a0f9657c0e6bbbee64124c803..2397392e1f8fdf418077b420fd679f0c035e677a 100644 --- a/Testing/Code/BasicFilters/otbImagePCAShapeModelEstimatorTest.cxx +++ b/Testing/Code/BasicFilters/otbImagePCAShapeModelEstimatorTest.cxx @@ -52,7 +52,7 @@ public: itk::LightProcessObject::Pointer m_Process; }; -int otbImagePCAShapeModelEstimatorTest(int argc, char* argv[]) +int otbImagePCAShapeModelEstimatorTest(int itkNotUsed(argc), char* argv[]) { /* const unsigned int numberOfPrincipalComponentsRequired(atoi(argv[1])); const unsigned int numberOfTrainingImages(atoi(argv[2])); diff --git a/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx b/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx index e3abbc37e63f54306612ecc00302f8a49cf16a5a..10a5d1bd62ec78c338460d7dcd56a8f506d6463f 100644 --- a/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbImageToPointSetFilterTest.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "itkPointSet.h" -int otbImageToPointSetFilterTest(int argc, char *argv[]) +int otbImageToPointSetFilterTest(int itkNotUsed(argc), char **itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbImaginaryImageToComplexImageFilterTest.cxx b/Testing/Code/BasicFilters/otbImaginaryImageToComplexImageFilterTest.cxx index c6049d0b5bbd8c060e1bb32c4842eae87701a8e0..fcdbbfadf7a516e7c618a0175e036879e08d3697 100644 --- a/Testing/Code/BasicFilters/otbImaginaryImageToComplexImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbImaginaryImageToComplexImageFilterTest.cxx @@ -25,7 +25,7 @@ #include "itkComplexToImaginaryImageFilter.h" #include "otbStreamingCompareImageFilter.h" -int otbImaginaryImageToComplexImageFilterTest(int argc, char * argv[]) +int otbImaginaryImageToComplexImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; diff --git a/Testing/Code/BasicFilters/otbImportGeoInformationImageFilter.cxx b/Testing/Code/BasicFilters/otbImportGeoInformationImageFilter.cxx index 0ec991f73b5f26e820d77da405c058fbca462049..e7e4aebba09a2c1b6ef03c347c70eab0c169129e 100644 --- a/Testing/Code/BasicFilters/otbImportGeoInformationImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbImportGeoInformationImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImportGeoInformationImageFilter(int argc, char * argv[]) +int otbImportGeoInformationImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterNew.cxx b/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterNew.cxx index d5aa47f4bbb662ee56d85c4b0ef010f3c7dd350c..2059beda607915033daf8fc419c17e3489ed72ee 100644 --- a/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImportGeoInformationImageFilter.h" #include "otbImage.h" -int otbImportGeoInformationImageFilterNew(int argc, char * argv[]) +int otbImportGeoInformationImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterWithKeywordList.cxx b/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterWithKeywordList.cxx index 587893aa6cdc19cc4a9d0db7ab53992e5b18be14..b5318fdd0ef85c911efc952e486e40b0ce23e275 100644 --- a/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterWithKeywordList.cxx +++ b/Testing/Code/BasicFilters/otbImportGeoInformationImageFilterWithKeywordList.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageKeywordlist.h" -int otbImportGeoInformationImageFilterWithKeywordList(int argc, char * argv[]) +int otbImportGeoInformationImageFilterWithKeywordList(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outputAsciiFilenameOtbImage = argv[2]; diff --git a/Testing/Code/BasicFilters/otbInnerProductPCAImageFilter.cxx b/Testing/Code/BasicFilters/otbInnerProductPCAImageFilter.cxx index e234a07dac2feec970f6ff545899048b23a61066..08462deb571ca2a15a58ebf9f52f2c8c5ef0d9f5 100644 --- a/Testing/Code/BasicFilters/otbInnerProductPCAImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbInnerProductPCAImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbInnerProductPCAImageFilter.h" #include "otbMultiToMonoChannelExtractROI.h" -int otbInnerProductPCAImageFilter(int argc, char* argv[]) +int otbInnerProductPCAImageFilter(int itkNotUsed(argc), char* argv[]) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbInnerProductPCAImageFilterNew.cxx b/Testing/Code/BasicFilters/otbInnerProductPCAImageFilterNew.cxx index d605ca9a23b86c087c01508c2a24af9a0c04c6e1..831ae7a2f0360c026c0d1906a03fae5720eb768f 100644 --- a/Testing/Code/BasicFilters/otbInnerProductPCAImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbInnerProductPCAImageFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbInnerProductPCAImageFilter.h" #include "otbVectorImage.h" -int otbInnerProductPCAImageFilterNew(int argc, char* argv[]) +int otbInnerProductPCAImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbInverseLogPolarTransform.cxx b/Testing/Code/BasicFilters/otbInverseLogPolarTransform.cxx index 0eae54dd9a22e0638257999092ce40df8a9c1d29..6b02512a66d32759850e0179f4a0a16bd0198372 100644 --- a/Testing/Code/BasicFilters/otbInverseLogPolarTransform.cxx +++ b/Testing/Code/BasicFilters/otbInverseLogPolarTransform.cxx @@ -21,7 +21,7 @@ #include <cstdlib> #include "otbMath.h" -int otbInverseLogPolarTransform(int argc, char* argv[]) +int otbInverseLogPolarTransform(int itkNotUsed(argc), char* argv[]) { double radialStep = atof(argv[1]); double angularStep = atof(argv[2]); diff --git a/Testing/Code/BasicFilters/otbInverseLogPolarTransformNew.cxx b/Testing/Code/BasicFilters/otbInverseLogPolarTransformNew.cxx index d75fb7c315c726c8a5ed636a702d36aece62ff95..852d754c5b7df969e53c965506d734e1671431f9 100644 --- a/Testing/Code/BasicFilters/otbInverseLogPolarTransformNew.cxx +++ b/Testing/Code/BasicFilters/otbInverseLogPolarTransformNew.cxx @@ -18,7 +18,7 @@ #include "otbInverseLogPolarTransform.h" #include <cstdlib> -int otbInverseLogPolarTransformNew(int argc, char* argv[]) +int otbInverseLogPolarTransformNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PrecisionType; typedef otb::InverseLogPolarTransform<PrecisionType> InverseLogPolarTransformType; diff --git a/Testing/Code/BasicFilters/otbInverseLogPolarTransformResample.cxx b/Testing/Code/BasicFilters/otbInverseLogPolarTransformResample.cxx index 9d81cc9d289a99b7b895812ee0d5b1e922461bb1..f4212ba1c85bf3cff6f14a1cd8a322fae7207c0a 100644 --- a/Testing/Code/BasicFilters/otbInverseLogPolarTransformResample.cxx +++ b/Testing/Code/BasicFilters/otbInverseLogPolarTransformResample.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbInverseLogPolarTransformResample(int argc, char* argv[]) +int otbInverseLogPolarTransformResample(int itkNotUsed(argc), char* argv[]) { char * inputFileName = argv[1]; char * outputFileName = argv[2]; diff --git a/Testing/Code/BasicFilters/otbKeyPointDensityImageFilterTest.cxx b/Testing/Code/BasicFilters/otbKeyPointDensityImageFilterTest.cxx index d81529497a1b9025369ace3631fc868cd04002fc..0dbcc1f9055eded6f779cc3476c0f02af125429d 100644 --- a/Testing/Code/BasicFilters/otbKeyPointDensityImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbKeyPointDensityImageFilterTest.cxx @@ -27,7 +27,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbKeyPointDensityImageFilterTest(int argc, char* argv[]) +int otbKeyPointDensityImageFilterTest(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterNew.cxx b/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterNew.cxx index ea2f3b8d6890d45a6851145be336d3e855ee84ed..9c0c82e234edfc53f158db6c3208d2f46580e8f7 100644 --- a/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbAttributesMapLabelObject.h" #include "otbLabelObjectOpeningMuParserFilter.h" -int otbLabelObjectOpeningMuParserFilterNew( int argc, char* argv[]) +int otbLabelObjectOpeningMuParserFilterNew( int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterTest.cxx b/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterTest.cxx index f146b2259734a84268522c5a0dd490b03a902190..2ea212113f11e96fa366bf160ef35b6507e3ed66 100644 --- a/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbLabelObjectOpeningMuParserFilterTest.cxx @@ -31,7 +31,7 @@ #include "itkLabelMapToLabelImageFilter.h" #include "otbBandsStatisticsAttributesLabelMapFilter.h" -int otbLabelObjectOpeningMuParserFilterTest(int argc, char * argv[]) +int otbLabelObjectOpeningMuParserFilterTest(int itkNotUsed(argc), char * argv[]) { const char * imageInputFilename = argv[1]; diff --git a/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilter.cxx b/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilter.cxx index 1758ccddad805786ad2c270dc984ea8b9150cf24..3644854a132dbdbf758d91cc180eadd9317e3b64 100644 --- a/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilter.cxx @@ -29,7 +29,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbLabelizeConfidenceConnectedImageFilter(int argc, char * argv[]) +int otbLabelizeConfidenceConnectedImageFilter(int itkNotUsed(argc), char * argv[]) { // Arguments char* inputImageName = argv[1]; diff --git a/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilterNew.cxx b/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilterNew.cxx index 28bb9d334539be4f07a78f74231f6bfb69949608..932d8fd58af82200c2666c8fffdcd997273d2dbd 100644 --- a/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbLabelizeConfidenceConnectedImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbLabelizeConfidenceConnectedImageFilter.h" #include "otbImage.h" -int otbLabelizeConfidenceConnectedImageFilterNew(int argc, char * argv[]) +int otbLabelizeConfidenceConnectedImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef unsigned char OutputPixelType; diff --git a/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilter.cxx b/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilter.cxx index 4094a6fe0cf7ba8d2156947676ebaf517942166d..d2201abf9bfe86110e9414acbf12c15b630083b1 100644 --- a/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilter.cxx @@ -28,7 +28,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbLabelizeConnectedThresholdImageFilter(int argc, char * argv[]) +int otbLabelizeConnectedThresholdImageFilter(int itkNotUsed(argc), char * argv[]) { // Arguments char* inputImageName = argv[1]; diff --git a/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilterNew.cxx b/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilterNew.cxx index 1c8814bced13d7b314ef78b70eb9120389d4b36e..6b4b30df238ffb8ca62cd2b0c0341feed1e2a0c1 100644 --- a/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbLabelizeConnectedThresholdImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbLabelizeConnectedThresholdImageFilter.h" #include "otbImage.h" -int otbLabelizeConnectedThresholdImageFilterNew(int argc, char * argv[]) +int otbLabelizeConnectedThresholdImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef unsigned char OutputPixelType; diff --git a/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilter.cxx b/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilter.cxx index b0357f2bf55dd2026df311d3a2dda7beeec27c3b..b41346e93977a4496c49765afaf2eba1a55d9285 100644 --- a/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilter.cxx @@ -28,7 +28,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbLabelizeNeighborhoodConnectedImageFilter(int argc, char * argv[]) +int otbLabelizeNeighborhoodConnectedImageFilter(int itkNotUsed(argc), char * argv[]) { // Arguments char* inputImageName = argv[1]; diff --git a/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx b/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx index 9ebfd21f675beb22d8a1a38ae967a9af11685d8e..523904260d11668156d788776886d6dc25aebb8f 100644 --- a/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbLabelizeNeighborhoodConnectedImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbLabelizeNeighborhoodConnectedImageFilter.h" #include "otbImage.h" -int otbLabelizeNeighborhoodConnectedImageFilterNew(int argc, char * argv[]) +int otbLabelizeNeighborhoodConnectedImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; typedef unsigned char OutputPixelType; diff --git a/Testing/Code/BasicFilters/otbLeeFilter.cxx b/Testing/Code/BasicFilters/otbLeeFilter.cxx index e0fdcdf2114d3915c05d5351c283724997c19305..b37396e1c8308fc87b6477380530dd8613e3c6b0 100644 --- a/Testing/Code/BasicFilters/otbLeeFilter.cxx +++ b/Testing/Code/BasicFilters/otbLeeFilter.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbLeeImageFilter.h" -int otbLeeFilter(int argc, char * argv[]) +int otbLeeFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbListSampleToHistogramListGenerator.cxx b/Testing/Code/BasicFilters/otbListSampleToHistogramListGenerator.cxx index 457f4d38fb0d80e48a9d03d9e98e594107dddbb2..6ac3b184557e5475656c133a1dbec93d18a96d84 100644 --- a/Testing/Code/BasicFilters/otbListSampleToHistogramListGenerator.cxx +++ b/Testing/Code/BasicFilters/otbListSampleToHistogramListGenerator.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "itkImageRegionIterator.h" -int otbListSampleToHistogramListGenerator(int argc, char * argv[]) +int otbListSampleToHistogramListGenerator(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; typedef otb::VectorImage<PixelType> VectorImageType; diff --git a/Testing/Code/BasicFilters/otbListSampleToHistogramListGeneratorNew.cxx b/Testing/Code/BasicFilters/otbListSampleToHistogramListGeneratorNew.cxx index a72e917585bc98e73c53ad5598d813bc405dd1b5..6e41a5ad2b3182c574aba6100885b3dd3f8bdf1c 100644 --- a/Testing/Code/BasicFilters/otbListSampleToHistogramListGeneratorNew.cxx +++ b/Testing/Code/BasicFilters/otbListSampleToHistogramListGeneratorNew.cxx @@ -19,7 +19,7 @@ #include "itkListSample.h" #include "otbListSampleToHistogramListGenerator.h" -int otbListSampleToHistogramListGeneratorNew(int argc, char * argv[]) +int otbListSampleToHistogramListGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.cxx b/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.cxx index 6bf8d0daa94fc4fc9c398abd84001c100c2cc9b9..203510752dd640cb90e4b08f6f8746840c89b563 100644 --- a/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.cxx +++ b/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGenerator.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "itkImageRegionIterator.h" -int otbListSampleToVariableDimensionHistogramGenerator(int argc, char * argv[]) +int otbListSampleToVariableDimensionHistogramGenerator(int itkNotUsed(argc), char * argv[]) { typedef double PixelType; typedef otb::VectorImage<PixelType> VectorImageType; diff --git a/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx b/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx index c11beefe29da3ed8533371e4bdb286f60d349a62..19d0675a400f9178a2da70307200999b10c528aa 100644 --- a/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx +++ b/Testing/Code/BasicFilters/otbListSampleToVariableDimensionHistogramGeneratorNew.cxx @@ -19,7 +19,7 @@ #include "itkListSample.h" #include "otbListSampleToVariableDimensionHistogramGenerator.h" -int otbListSampleToVariableDimensionHistogramGeneratorNew(int argc, char * argv[]) +int otbListSampleToVariableDimensionHistogramGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbLocalActivityVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbLocalActivityVectorImageFilter.cxx index fd45c436f3e1ea208e08a696789599758f582539..abeb9dcb8f7ce8ef23cc210f0f2a1b8f5323ab6b 100644 --- a/Testing/Code/BasicFilters/otbLocalActivityVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbLocalActivityVectorImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbLocalActivityVectorImageFilter.h" -int otbLocalActivityVectorImageFilterNewTest ( int argc, char* argv[] ) +int otbLocalActivityVectorImageFilterNewTest ( int itkNotUsed(argc), char** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -106,4 +106,3 @@ int otbLocalActivityVectorImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbLocalGradientVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbLocalGradientVectorImageFilter.cxx index 8fb33c350df0bcf92a1ed08782fd54ad834e0fa8..1d3510ef9486c761b0359d7f3c905430047f2ac8 100644 --- a/Testing/Code/BasicFilters/otbLocalGradientVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbLocalGradientVectorImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbLocalGradientVectorImageFilter.h" -int otbLocalGradientVectorImageFilterNewTest ( int argc, char * argv[] ) +int otbLocalGradientVectorImageFilterNewTest ( int itkNotUsed(argc), char ** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -97,4 +97,3 @@ int otbLocalGradientVectorImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbLogPolarTransform.cxx b/Testing/Code/BasicFilters/otbLogPolarTransform.cxx index 28d08f823a22de82c95ff276010a4d143fd9376a..5e86fd56fce30934b990c001ef68e1de76e8b6ae 100644 --- a/Testing/Code/BasicFilters/otbLogPolarTransform.cxx +++ b/Testing/Code/BasicFilters/otbLogPolarTransform.cxx @@ -22,7 +22,7 @@ #include <fstream> #include <cstdlib> -int otbLogPolarTransform(int argc, char* argv[]) +int otbLogPolarTransform(int itkNotUsed(argc), char* argv[]) { double radialStep = atof(argv[1]); double angularStep = atof(argv[2]); diff --git a/Testing/Code/BasicFilters/otbLogPolarTransformNew.cxx b/Testing/Code/BasicFilters/otbLogPolarTransformNew.cxx index bdf974168d2e52966238ce5e163a883fce1de280..67277e46b42e7d69e31158015c2bffa83ecab8de 100644 --- a/Testing/Code/BasicFilters/otbLogPolarTransformNew.cxx +++ b/Testing/Code/BasicFilters/otbLogPolarTransformNew.cxx @@ -18,7 +18,7 @@ #include "otbLogPolarTransform.h" #include <cstdlib> -int otbLogPolarTransformNew(int argc, char* argv[]) +int otbLogPolarTransformNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PrecisionType; typedef otb::LogPolarTransform<PrecisionType> LogPolarTransformType; diff --git a/Testing/Code/BasicFilters/otbLogPolarTransformResample.cxx b/Testing/Code/BasicFilters/otbLogPolarTransformResample.cxx index 518b8903c088725f50464c346bbdd56b70db8b1b..c6917a3d82232bb39139c82e849c14a0dd03ddf8 100644 --- a/Testing/Code/BasicFilters/otbLogPolarTransformResample.cxx +++ b/Testing/Code/BasicFilters/otbLogPolarTransformResample.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbLogPolarTransformResample(int argc, char* argv[]) +int otbLogPolarTransformResample(int itkNotUsed(argc), char* argv[]) { char * inputFileName = argv[1]; char * outputFileName = argv[2]; diff --git a/Testing/Code/BasicFilters/otbMNFImageFilter.cxx b/Testing/Code/BasicFilters/otbMNFImageFilter.cxx index 5e80436409d993ff7986d848d08e03f6f98a6997..efbc325d0861f27fd8e2f2fed43f240d37472d1c 100644 --- a/Testing/Code/BasicFilters/otbMNFImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbMNFImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbLocalActivityVectorImageFilter.h" -int otbMNFImageFilterNewTest ( int argc, char* argv[] ) +int otbMNFImageFilterNewTest ( int itkNotUsed(argc), char** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -148,4 +148,3 @@ int otbMNFImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbMaskMuParserFilterNew.cxx b/Testing/Code/BasicFilters/otbMaskMuParserFilterNew.cxx index 284f23f2e445bbb79d708e5a4e7aaf7dc76ecc4c..c3f2e8a4b8f91eaad4baf5c3a15962e56c304dcb 100644 --- a/Testing/Code/BasicFilters/otbMaskMuParserFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbMaskMuParserFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "otbMaskMuParserFilter.h" -int otbMaskMuParserFilterNew( int argc, char* argv[]) +int otbMaskMuParserFilterNew( int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float InputPixelType; diff --git a/Testing/Code/BasicFilters/otbMatrixImageFilterNew.cxx b/Testing/Code/BasicFilters/otbMatrixImageFilterNew.cxx index f4450e4589beb2f249992029ffd80d9f097f4da2..d27f830f7a81071ef511f7bb85215f4dd5c78f65 100644 --- a/Testing/Code/BasicFilters/otbMatrixImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbMatrixImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorImage.h" -int otbApplyTransitionMatrixImageFilterNew(int argc, char * argv[]) +int otbApplyTransitionMatrixImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef float OutputPixelType; diff --git a/Testing/Code/BasicFilters/otbMatrixImageFilterTest.cxx b/Testing/Code/BasicFilters/otbMatrixImageFilterTest.cxx index 71276dd7318d227006b9ca96dd4c00a2e494d39b..50e256214bda6d454318fa07e5ca8ce8a5e528b6 100644 --- a/Testing/Code/BasicFilters/otbMatrixImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbMatrixImageFilterTest.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include <complex> -int otbMatrixImageFilterNew(int argc, char * argv[]) +int otbMatrixImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef std::complex<double> PixelType; @@ -37,7 +37,7 @@ int otbMatrixImageFilterNew(int argc, char * argv[]) } -int otbMatrixImageFilterTest(int argc, char * argv[]) +int otbMatrixImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilter.cxx b/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilter.cxx index 542a10cfac3be8730086ccdcffa8483d2e65d760..e9fc2b741a12f32a6ff6e032d02546587fba4c10 100644 --- a/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbStreamingMatrixTransposeMatrixImageFilter.h" -int otbMatrixTransposeMatrixImageFilter(int argc, char * argv[]) +int otbMatrixTransposeMatrixImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname1 = argv[1]; const char * infname2 = argv[2]; diff --git a/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilterNew.cxx b/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilterNew.cxx index ca7b619f8ba60d1c5b62ccd652ebf5f4f37eeb2e..5fe6c799f13a9d838dcfe848acd4645c8229d8d0 100644 --- a/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbMatrixTransposeMatrixImageFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorImage.h" #include "otbStreamingMatrixTransposeMatrixImageFilter.h" -int otbMatrixTransposeMatrixImageFilterNew(int argc, char * argv[]) +int otbMatrixTransposeMatrixImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx b/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx index d92c3a37cb21c0b0e256fdac2e89482612499d5a..1fc2ba6d6833360b33f994db2c37c8a2c49202c8 100644 --- a/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbMaximumAutocorrelationFactorImageFilter.cxx @@ -26,7 +26,7 @@ typedef otb::ImageFileReader<ImageType> ReaderType; typedef otb::ImageFileWriter<OutputImageType> WriterType; typedef otb::MaximumAutocorrelationFactorImageFilter<ImageType, OutputImageType> MADFilterType; -int otbMaximumAutocorrelationFactorImageFilterNew(int argc, char* argv[]) +int otbMaximumAutocorrelationFactorImageFilterNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { MADFilterType::Pointer madFilter = MADFilterType::New(); @@ -34,7 +34,7 @@ int otbMaximumAutocorrelationFactorImageFilterNew(int argc, char* argv[]) } -int otbMaximumAutocorrelationFactorImageFilter(int argc, char* argv[]) +int otbMaximumAutocorrelationFactorImageFilter(int itkNotUsed(argc), char* argv[]) { char * infname = argv[1]; char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbMeanFunctorImageTest.cxx b/Testing/Code/BasicFilters/otbMeanFunctorImageTest.cxx index 4939ebfdea935de6ea037bbd9ae330e26e8be168..13bf560729c63591347d4f79e611fb61d0ddf12c 100644 --- a/Testing/Code/BasicFilters/otbMeanFunctorImageTest.cxx +++ b/Testing/Code/BasicFilters/otbMeanFunctorImageTest.cxx @@ -24,7 +24,7 @@ #include "itkUnaryFunctorImageFilter.h" #include "otbMeanFunctor.h" -int otbMeanFunctorImageTest(int argc, char * argv[]) +int otbMeanFunctorImageTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbMeanShiftImageFilterNew.cxx b/Testing/Code/BasicFilters/otbMeanShiftImageFilterNew.cxx index 6a1db944f0ba9456524da2c1b86dad9e8d63fc2a..2a040ad6ecfaeac13086ddbd97608fe1fa1089e4 100644 --- a/Testing/Code/BasicFilters/otbMeanShiftImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbMeanShiftImageFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbImage.h" #include "otbMeanShiftImageFilter.h" -int otbMeanShiftImageFilterNew(int argc, char * argv[]) +int otbMeanShiftImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef short PixelType; diff --git a/Testing/Code/BasicFilters/otbMeanShiftSmoothingImageFilterNew.cxx b/Testing/Code/BasicFilters/otbMeanShiftSmoothingImageFilterNew.cxx index b0097c1e208d16730664325b2f44a0d937c6047c..6b1b014f28e584b2f9097ed26a6deb55fd5db5a6 100644 --- a/Testing/Code/BasicFilters/otbMeanShiftSmoothingImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbMeanShiftSmoothingImageFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorImage.h" #include "otbMeanShiftSmoothingImageFilter.h" -int otbMeanShiftSmoothingImageFilterNew(int argc, char * argv[]) +int otbMeanShiftSmoothingImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef short PixelType; diff --git a/Testing/Code/BasicFilters/otbMeanShiftVectorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbMeanShiftVectorImageFilterNew.cxx index b43de34f8c3628aa63a14d9752d5ecc4b97a1518..e1b7a70fc21a39cbe3a48fac149c23307e98573d 100644 --- a/Testing/Code/BasicFilters/otbMeanShiftVectorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbMeanShiftVectorImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "otbMeanShiftVectorImageFilter.h" -int otbMeanShiftVectorImageFilterNew(int argc, char * argv[]) +int otbMeanShiftVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef short PixelType; diff --git a/Testing/Code/BasicFilters/otbNAPCAImageFilter.cxx b/Testing/Code/BasicFilters/otbNAPCAImageFilter.cxx index 47b4bedeb6b081b39d1917a43f612ddb9cb228e6..dcac682cad6155705bce9ef64b16b8b043ba1465 100644 --- a/Testing/Code/BasicFilters/otbNAPCAImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbNAPCAImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbLocalActivityVectorImageFilter.h" -int otbNAPCAImageFilterNewTest ( int argc, char* argv[] ) +int otbNAPCAImageFilterNewTest ( int itkNotUsed(argc), char** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -148,8 +148,3 @@ int otbNAPCAImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - - - - - diff --git a/Testing/Code/BasicFilters/otbNDVIDataNodeFeatureFunction.cxx b/Testing/Code/BasicFilters/otbNDVIDataNodeFeatureFunction.cxx index 2ce0657ff697d0233f0328903589e2bdc4984efa..c34d15f242af59fe724c282339c2d2feb0d63e33 100644 --- a/Testing/Code/BasicFilters/otbNDVIDataNodeFeatureFunction.cxx +++ b/Testing/Code/BasicFilters/otbNDVIDataNodeFeatureFunction.cxx @@ -27,7 +27,7 @@ #include "otbVectorDataFileWriter.h" #include "itkPreOrderTreeIterator.h" -int otbNDVIDataNodeFeatureFunctionNew(int argc, char* argv[]) +int otbNDVIDataNodeFeatureFunctionNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef double CoordRepType; typedef double PrecisionType; @@ -42,7 +42,7 @@ int otbNDVIDataNodeFeatureFunctionNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbNDVIDataNodeFeatureFunction(int argc, char* argv[]) +int otbNDVIDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * inputImg = argv[2]; @@ -138,4 +138,3 @@ int otbNDVIDataNodeFeatureFunction(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilter.cxx b/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilter.cxx index ebca4cc910df1a495703b75f5c5469ee4bfba1fc..f77479ba19c06551bea757e1cf23f67fc20e91c5 100644 --- a/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilter.cxx @@ -20,7 +20,7 @@ #include "otbImageFileWriter.h" #include "otbVectorImage.h" -int otbNormalizeInnerProductPCAImageFilter(int argc, char* argv[]) +int otbNormalizeInnerProductPCAImageFilter(int itkNotUsed(argc), char* argv[]) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilterNew.cxx b/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilterNew.cxx index 9db1bf6196e9ff2078657040c7c3a1d99e1ae52a..376bd7a60189340b8c0e45360fdf18ba7370cd18 100644 --- a/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbNormalizeInnerProductPCAImageFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbNormalizeInnerProductPCAImageFilter.h" #include "otbVectorImage.h" -int otbNormalizeInnerProductPCAImageFilterNew(int argc, char* argv[]) +int otbNormalizeInnerProductPCAImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbNormalizeVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbNormalizeVectorImageFilter.cxx index a2c7382eeb19179759c22f22d0a3752ed534d6e7..288063fe98ffd3c7f565b824a3e92e99c466f279 100644 --- a/Testing/Code/BasicFilters/otbNormalizeVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbNormalizeVectorImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbNormalizeVectorImageFilter.h" -int otbNormalizeVectorImageFilterNewTest ( int argc, char* argv[] ) +int otbNormalizeVectorImageFilterNewTest ( int itkNotUsed(argc), char** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -95,6 +95,3 @@ int otbNormalizeVectorImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - - - diff --git a/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilter.cxx b/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilter.cxx index 496b7f449deccd8f0736228ab626a58d757013b1..fcff663294209ce177dc789af5efbae800bcce82 100644 --- a/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilter.cxx +++ b/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbOpeningClosingMorphologicalFilter(int argc, char * argv[]) +int otbOpeningClosingMorphologicalFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const unsigned int Radius = atoi(argv[3]); diff --git a/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilterNew.cxx b/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilterNew.cxx index 7f664195d9cf25baf04288d10fffeebd72bb6797..1cb35d4af8b7f6c57dc9e59f63dc478a009f652b 100644 --- a/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbOpeningClosingMorphologicalFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkBinaryBallStructuringElement.h" #include "otbImage.h" -int otbOpeningClosingMorphologicalFilterNew(int argc, char * argv[]) +int otbOpeningClosingMorphologicalFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilter.cxx b/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilter.cxx index c5e866171a40cb865951ae559e495809381da753..b1e0881c0ede6a0d6fa281fa6f3329b87c6812e4 100644 --- a/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbOverlapSaveConvolutionImageFilter.h" -int otbOverlapSaveConvolutionImageFilter(int argc, char * argv[]) +int otbOverlapSaveConvolutionImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilterNew.cxx b/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilterNew.cxx index 2e563c6a864d2aafdd52ad172db977050de8b178..2421f4bce5043ff77b439a29b145c9b21d638012 100644 --- a/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbOverlapSaveConvolutionImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "otbOverlapSaveConvolutionImageFilter.h" -int otbOverlapSaveConvolutionImageFilterNew(int argc, char * argv[]) +int otbOverlapSaveConvolutionImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/BasicFilters/otbPCAImageFilter.cxx b/Testing/Code/BasicFilters/otbPCAImageFilter.cxx index 194bfaad2212b628d593123d31b67c679b2ded4a..86fa1b2663695443862f381ec81035cb4b83fff6 100644 --- a/Testing/Code/BasicFilters/otbPCAImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbPCAImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbPCAImageFilter.h" -int otbPCAImageFilterNewTest ( int argc, char* argv[] ) +int otbPCAImageFilterNewTest ( int itkNotUsed(argc), char** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -129,8 +129,3 @@ int otbPCAImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - - - - - diff --git a/Testing/Code/BasicFilters/otbParserConditionDataNodeFeatureFunction.cxx b/Testing/Code/BasicFilters/otbParserConditionDataNodeFeatureFunction.cxx index d0fdc88ddb489d754901263bb78e1fa11e79deaf..f1a649d9c7df0e8a51f70787c62ec48ef809d275 100644 --- a/Testing/Code/BasicFilters/otbParserConditionDataNodeFeatureFunction.cxx +++ b/Testing/Code/BasicFilters/otbParserConditionDataNodeFeatureFunction.cxx @@ -26,7 +26,7 @@ #include "otbVectorDataFileWriter.h" #include "itkPreOrderTreeIterator.h" -int otbParserConditionDataNodeFeatureFunctionNew(int argc, char* argv[]) +int otbParserConditionDataNodeFeatureFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double CoordRepType; typedef double PrecisionType; @@ -42,7 +42,7 @@ int otbParserConditionDataNodeFeatureFunctionNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbParserConditionDataNodeFeatureFunction(int argc, char* argv[]) +int otbParserConditionDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * inputImg = argv[2]; @@ -131,4 +131,3 @@ int otbParserConditionDataNodeFeatureFunction(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbPerBandVectorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbPerBandVectorImageFilterNew.cxx index e902f76f418d32475295264484d780ad47ad76a5..b6fa2f041e7ee11e1e64516222175b5d6207f6ed 100644 --- a/Testing/Code/BasicFilters/otbPerBandVectorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbPerBandVectorImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "itkMeanImageFilter.h" -int otbPerBandVectorImageFilterNew(int argc, char * argv[]) +int otbPerBandVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithMeanFilter.cxx b/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithMeanFilter.cxx index c470547418f870c76baa17a545f2b76d0f22d4a4..d8594c303d770200fac795cb2d927b3e68f8e88e 100644 --- a/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithMeanFilter.cxx +++ b/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithMeanFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbPerBandVectorImageFilterWithMeanFilter(int argc, char * argv[]) +int otbPerBandVectorImageFilterWithMeanFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithSobelFilter.cxx b/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithSobelFilter.cxx index 904e2ad32fd58c4f9a71dfcede39c08e7f28844f..5a32549a0536a5d88ca98e5a1179c5f8f8359475 100644 --- a/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithSobelFilter.cxx +++ b/Testing/Code/BasicFilters/otbPerBandVectorImageFilterWithSobelFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbPerBandVectorImageFilterWithSobelFilter(int argc, char * argv[]) +int otbPerBandVectorImageFilterWithSobelFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbPersistentVectorizationFilter.cxx b/Testing/Code/BasicFilters/otbPersistentVectorizationFilter.cxx index 899c6cd06e013656f27c1a8019e70a045d7493b6..b679b98b4813778983c0b91cef96f3c608d4e003 100644 --- a/Testing/Code/BasicFilters/otbPersistentVectorizationFilter.cxx +++ b/Testing/Code/BasicFilters/otbPersistentVectorizationFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include <fstream> -int otbPersistentVectorizationFilter(int argc, char * argv[]) +int otbPersistentVectorizationFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbPersistentVectorizationFilterNew.cxx b/Testing/Code/BasicFilters/otbPersistentVectorizationFilterNew.cxx index 1410b14658a123a63ee8e60466a87f8178400f8b..de7b0d81f42154c2b88452aa781dafb87b8700ef 100644 --- a/Testing/Code/BasicFilters/otbPersistentVectorizationFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbPersistentVectorizationFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbPolygon.h" #include "otbPersistentVectorizationImageFilter.h" -int otbPersistentVectorizationFilterNew(int argc, char * argv[]) +int otbPersistentVectorizationFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int ImageDimension = 2; typedef unsigned short LabelType; diff --git a/Testing/Code/BasicFilters/otbPhaseFunctorTest.cxx b/Testing/Code/BasicFilters/otbPhaseFunctorTest.cxx index a2935298483d2fea0c95df2240c368cd27fcaad9..c7e97d15778daa8d1cc37f8e2f4700d8d4547248 100644 --- a/Testing/Code/BasicFilters/otbPhaseFunctorTest.cxx +++ b/Testing/Code/BasicFilters/otbPhaseFunctorTest.cxx @@ -22,7 +22,7 @@ #include "itkRGBPixel.h" #include "itkRGBAPixel.h" -int otbPhaseFunctorTest(int argc, char * argv[]) +int otbPhaseFunctorTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double ScalarType; diff --git a/Testing/Code/BasicFilters/otbPointSetDensityEpanechnikovFunctionTest.cxx b/Testing/Code/BasicFilters/otbPointSetDensityEpanechnikovFunctionTest.cxx index 332f73a9076190ceb57b249dc8d08b7e397bf4be..8420f7a3212e379f4d0ecf80899d8c9dd7c5ba12 100644 --- a/Testing/Code/BasicFilters/otbPointSetDensityEpanechnikovFunctionTest.cxx +++ b/Testing/Code/BasicFilters/otbPointSetDensityEpanechnikovFunctionTest.cxx @@ -23,7 +23,7 @@ #include <iostream> -int otbPointSetDensityEpanechnikovFunctionTest(int argc, char* argv[]) +int otbPointSetDensityEpanechnikovFunctionTest(int itkNotUsed(argc), char* argv[]) { const char * outfname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbPointSetDensityFunctionTest.cxx b/Testing/Code/BasicFilters/otbPointSetDensityFunctionTest.cxx index 369159c81812a2c2d4c4004ea6e6e802e3a0b7e6..39914a615615de3b366ecaf3cd8a15878de72391 100644 --- a/Testing/Code/BasicFilters/otbPointSetDensityFunctionTest.cxx +++ b/Testing/Code/BasicFilters/otbPointSetDensityFunctionTest.cxx @@ -23,7 +23,7 @@ #include <iostream> -int otbPointSetDensityFunctionTest(int argc, char* argv[]) +int otbPointSetDensityFunctionTest(int itkNotUsed(argc), char* argv[]) { const char * outfname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbPointSetDensityGaussianFunctionTest.cxx b/Testing/Code/BasicFilters/otbPointSetDensityGaussianFunctionTest.cxx index 57eb47c6fed28c7f78681aae0b4bf187c7f23abf..ee6c335eff08d7be2933a59b0dff0fe9a26e6ef7 100644 --- a/Testing/Code/BasicFilters/otbPointSetDensityGaussianFunctionTest.cxx +++ b/Testing/Code/BasicFilters/otbPointSetDensityGaussianFunctionTest.cxx @@ -23,7 +23,7 @@ #include <iostream> -int otbPointSetDensityGaussianFunctionTest(int argc, char* argv[]) +int otbPointSetDensityGaussianFunctionTest(int itkNotUsed(argc), char* argv[]) { const char * outfname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbPointSetToDensityImageFilterTest.cxx b/Testing/Code/BasicFilters/otbPointSetToDensityImageFilterTest.cxx index 21642dc750bd46fdb7b85811777ec62e67622730..84d334e7de2acfe46657933ba90692e4bedddb69 100644 --- a/Testing/Code/BasicFilters/otbPointSetToDensityImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbPointSetToDensityImageFilterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbImageToSIFTKeyPointSetFilter.h" -int otbPointSetToDensityImageFilterTest(int argc, char* argv[]) +int otbPointSetToDensityImageFilterTest(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbPrintableImageFilter.cxx b/Testing/Code/BasicFilters/otbPrintableImageFilter.cxx index 88221dc6394987c0825a4b259d458cae8afddae1..b35dff04c76595f189afa3bc34ae63b1d349619c 100644 --- a/Testing/Code/BasicFilters/otbPrintableImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbPrintableImageFilter.cxx @@ -25,7 +25,7 @@ #include "otbPrintableImageFilter.h" -int otbPrintableImageFilter(int argc, char * argv[]) +int otbPrintableImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbPrintableImageFilterNew.cxx b/Testing/Code/BasicFilters/otbPrintableImageFilterNew.cxx index 52788b83ca4296f90fe3abe7a8c61b7b96d98772..817ce88b6a433fd2642d6b80ed6e7a421a8d3c2b 100644 --- a/Testing/Code/BasicFilters/otbPrintableImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbPrintableImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbPrintableImageFilter.h" -int otbPrintableImageFilterNew(int argc, char * argv[]) +int otbPrintableImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbPrintableImageFilterWithMask.cxx b/Testing/Code/BasicFilters/otbPrintableImageFilterWithMask.cxx index 25ba40a81abbc6b950e51355d67033d5a33802ea..084aae016f6e9ebf15bdd243dcaad091dc8d81c3 100644 --- a/Testing/Code/BasicFilters/otbPrintableImageFilterWithMask.cxx +++ b/Testing/Code/BasicFilters/otbPrintableImageFilterWithMask.cxx @@ -23,7 +23,7 @@ #include "otbPrintableImageFilter.h" -int otbPrintableImageFilterWithMask(int argc, char * argv[]) +int otbPrintableImageFilterWithMask(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * masktFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbProjectiveProjection.cxx b/Testing/Code/BasicFilters/otbProjectiveProjection.cxx index 58910ceac402958ccb7a594b48d063419517accd..41a1805f825879d5c21a4edacade3442610c80fb 100644 --- a/Testing/Code/BasicFilters/otbProjectiveProjection.cxx +++ b/Testing/Code/BasicFilters/otbProjectiveProjection.cxx @@ -44,14 +44,14 @@ typedef otb::StreamingStatisticsImageFilter<ImageType> StreamingStatisticsImageF typedef StreamingStatisticsVectorImageFilterType::MatrixType MatrixType; -int otbProjectiveProjectionNew(int argc, char * argv[]) +int otbProjectiveProjectionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { ProjectiveProjectionImageFilterType::Pointer filter = ProjectiveProjectionImageFilterType::New(); std::cout << filter << std::endl; return EXIT_SUCCESS; } -int otbProjectiveProjectionTestHighSNR(int argc, char * argv[]) +int otbProjectiveProjectionTestHighSNR(int itkNotUsed(argc), char * argv[]) { const char * inputImage = argv[1]; const unsigned int nbEndmembers = atoi(argv[2]); diff --git a/Testing/Code/BasicFilters/otbProlateInterpolateImageFunctionNew.cxx b/Testing/Code/BasicFilters/otbProlateInterpolateImageFunctionNew.cxx index 75cb0f17eb28319cf8b3e8af64de962de91a3a1f..2a40ceec2db5547a8a98445669df233dcad34335 100644 --- a/Testing/Code/BasicFilters/otbProlateInterpolateImageFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbProlateInterpolateImageFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbProlateInterpolateImageFunction.h" #include "otbImage.h" -int otbProlateInterpolateImageFunctionNew(int argc, char * argv[]) +int otbProlateInterpolateImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::ProlateInterpolateImageFunction<ImageType> ProlateInterpolatorType; diff --git a/Testing/Code/BasicFilters/otbProlateValidationTest.cxx b/Testing/Code/BasicFilters/otbProlateValidationTest.cxx index c62f78b045d996756d512d19fbc1dff382ca478b..9b33a3af5d0cdf835eb5acc492656a1c55491aa9 100644 --- a/Testing/Code/BasicFilters/otbProlateValidationTest.cxx +++ b/Testing/Code/BasicFilters/otbProlateValidationTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbStreamingResampleImageFilter.h" -int otbProlateValidationTest(int argc, char * argv[]) +int otbProlateValidationTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx b/Testing/Code/BasicFilters/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx index 05b93cb7736beeff1479331d5f0ad8959b0e82b4..ca3e81b11784093f1a2015ffad1f08d0c6b47759 100644 --- a/Testing/Code/BasicFilters/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx +++ b/Testing/Code/BasicFilters/otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction.cxx @@ -25,7 +25,7 @@ #include "otbVectorDataFileWriter.h" #include "itkPreOrderTreeIterator.h" -int otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionNew(int argc, char* argv[]) +int otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef double CoordRepType; typedef double PrecisionType; @@ -40,7 +40,7 @@ int otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunctionNew(int argc, return EXIT_SUCCESS; } -int otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction(int argc, char* argv[]) +int otbRadiometryHomogenousWithNeighborhoodDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * inputImg = argv[2]; diff --git a/Testing/Code/BasicFilters/otbRealAndImaginaryImageToComplexImageFilterTest.cxx b/Testing/Code/BasicFilters/otbRealAndImaginaryImageToComplexImageFilterTest.cxx index a7c4f4cb2831949c398b0abd15a45ce90832ee58..1ea04fcefd3fa0b07c2fd97589b258fbed8fb2ce 100644 --- a/Testing/Code/BasicFilters/otbRealAndImaginaryImageToComplexImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbRealAndImaginaryImageToComplexImageFilterTest.cxx @@ -26,7 +26,7 @@ #include "itkComplexToImaginaryImageFilter.h" #include "otbStreamingCompareImageFilter.h" -int otbRealAndImaginaryImageToComplexImageFilterTest(int argc, char * argv[]) +int otbRealAndImaginaryImageToComplexImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputFilenameRealPart = argv[1]; const char * inputFilenameImagPart = argv[2]; diff --git a/Testing/Code/BasicFilters/otbRealImageToComplexImageFilterTest.cxx b/Testing/Code/BasicFilters/otbRealImageToComplexImageFilterTest.cxx index b1f9a3de570556ae62e5f57c8e40e557eca99734..a1ccd735db2f46dd253f4adefd0b2eb69be42a91 100644 --- a/Testing/Code/BasicFilters/otbRealImageToComplexImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbRealImageToComplexImageFilterTest.cxx @@ -25,7 +25,7 @@ #include "itkComplexToRealImageFilter.h" #include "otbStreamingCompareImageFilter.h" -int otbRealImageToComplexImageFilterTest(int argc, char * argv[]) +int otbRealImageToComplexImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; diff --git a/Testing/Code/BasicFilters/otbResampleSLCImage.cxx b/Testing/Code/BasicFilters/otbResampleSLCImage.cxx index b762e10b0b388235b0ab655effb9d8640ee57577..ff9dcbb804bba3cf9a39b39ba4e2309520865f53 100644 --- a/Testing/Code/BasicFilters/otbResampleSLCImage.cxx +++ b/Testing/Code/BasicFilters/otbResampleSLCImage.cxx @@ -25,7 +25,7 @@ #include "otbComplexToIntensityImageFilter.h" #include "otbStreamingCompareImageFilter.h" -int otbResampleSLCImage(int argc, char * argv[]) +int otbResampleSLCImage(int itkNotUsed(argc), char * argv[]) { const char* inputFilename = argv[1]; diff --git a/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctor.cxx b/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctor.cxx index b80664c0737fa63061ce85952cf700589aa74e84..d516a39ba5e33eea4471de3adfc5ae4ec2dab1da 100644 --- a/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctor.cxx +++ b/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctor.cxx @@ -25,7 +25,7 @@ #include "itkUnaryFunctorImageFilter.h" #include "otbScalarToRainbowRGBPixelFunctor.h" -int otbScalarToRainbowRGBPixelFunctor(int argc, char * argv[]) +int otbScalarToRainbowRGBPixelFunctor(int itkNotUsed(argc), char * argv[]) { typedef unsigned char PixelType; typedef itk::RGBPixel<PixelType> RGBPixelType; diff --git a/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctorNew.cxx b/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctorNew.cxx index ec60a0e7f6b5eca981cea863412361afa1c688f4..6b9d6c31fe7b989a8f3ba8fa561ba876fa57641c 100644 --- a/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctorNew.cxx +++ b/Testing/Code/BasicFilters/otbScalarToRainbowRGBPixelFunctorNew.cxx @@ -23,7 +23,7 @@ #include "itkUnaryFunctorImageFilter.h" #include "otbScalarToRainbowRGBPixelFunctor.h" -int otbScalarToRainbowRGBPixelFunctorNew(int argc, char * argv[]) +int otbScalarToRainbowRGBPixelFunctorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterNew.cxx index e69c74bc5983184b89b2645fdd89c1043ac06a38..8762593ac7e9ca255fee346d613382e1450b957b 100644 --- a/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbShiftScaleVectorImageFilter.h" #include "otbVectorImage.h" -int otbShiftScaleVectorImageFilterNew(int argc, char * argv[]) +int otbShiftScaleVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterTest.cxx b/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterTest.cxx index 86275cc5bfd3442531bfd437008705964e8437c0..5ffa1661eb3b8e30ed359bafc45046584786b647 100644 --- a/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbShiftScaleVectorImageFilterTest.cxx @@ -26,7 +26,7 @@ #include "otbVectorImageToImageListFilter.h" #include "otbStreamingStatisticsImageFilter.h" -int otbShiftScaleVectorImageFilterTest(int argc, char * argv[]) +int otbShiftScaleVectorImageFilterTest(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbSobelVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbSobelVectorImageFilter.cxx index c6c9f90d776f99c39e7fe35a9f8b42c06a34faa7..82cfd87343ddb455915d1410d35a3343fbc417cc 100644 --- a/Testing/Code/BasicFilters/otbSobelVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbSobelVectorImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbSobelVectorImageFilter.h" -int otbSobelVectorImageFilterNewTest ( int argc, char *argv[] ) +int otbSobelVectorImageFilterNewTest ( int itkNotUsed(argc), char ** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -94,4 +94,3 @@ int otbSobelVectorImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbSparseWvltToAngleMapperListFilterNew.cxx b/Testing/Code/BasicFilters/otbSparseWvltToAngleMapperListFilterNew.cxx index cdd4ec1ee19fad3a2c3b13fcdb123a8460ce1d2b..10690fcd63d977ef9321838cf5846b988e79d8f4 100644 --- a/Testing/Code/BasicFilters/otbSparseWvltToAngleMapperListFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbSparseWvltToAngleMapperListFilterNew.cxx @@ -31,7 +31,7 @@ #include "otbSparseWvltToAngleMapperListFilter.h" -int otbSparseWvltToAngleMapperListFilterNew ( int argc, char * argv[] ) +int otbSparseWvltToAngleMapperListFilterNew ( int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; const unsigned int SpaceDimension = 3; @@ -51,4 +51,3 @@ int otbSparseWvltToAngleMapperListFilterNew ( int argc, char * argv[] ) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilter.cxx b/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilter.cxx index 89eaea34d7c26dbaa110c1c10c9680fedfa5ac3f..90edf7ae1cf7bf21e53f6e36f7d3df4153730d23 100644 --- a/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilter.cxx +++ b/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbSpatialObjectToImageDrawingFilter(int argc, char * argv[]) +int otbSpatialObjectToImageDrawingFilter(int itkNotUsed(argc), char * argv[]) { const char * outputFilename = argv[1]; const double radiusx = atof(argv[2]); diff --git a/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilterNew.cxx b/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilterNew.cxx index 07872d850a90728980abe96f52548beb16256f05..6cb71f6b5008a8e6632a177c6503e6e39b52c24f 100644 --- a/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbSpatialObjectToImageDrawingFilterNew.cxx @@ -21,7 +21,7 @@ #include "itkGroupSpatialObject.h" #include "otbImage.h" -int otbSpatialObjectToImageDrawingFilterNew(int argc, char * argv[]) +int otbSpatialObjectToImageDrawingFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx b/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx index d1cf3d8964943e8ee422f6300d4350ee2c85904d..ca37072dcb7ca684b3a64caede0d4ae4733f5419 100644 --- a/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx +++ b/Testing/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.cxx @@ -27,7 +27,7 @@ #include "otbVectorDataFileWriter.h" #include "itkPreOrderTreeIterator.h" -int otbSpectralAngleDataNodeFeatureFunctionNew(int argc, char* argv[]) +int otbSpectralAngleDataNodeFeatureFunctionNew(int itkNotUsed(argc), char* argv[]) { typedef double CoordRepType; typedef double PrecisionType; @@ -42,7 +42,7 @@ int otbSpectralAngleDataNodeFeatureFunctionNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbSpectralAngleDataNodeFeatureFunction(int argc, char* argv[]) +int otbSpectralAngleDataNodeFeatureFunction(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * inputImg = argv[2]; diff --git a/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilter.cxx b/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilter.cxx index 3aa685a2b97e7c251a97c37923b214f2fa94015d..e3b853430a41b87dadca25766f0c824b49edcaa8 100644 --- a/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbSpectralAngleDistanceImageFilter.h" -int otbSpectralAngleDistanceImageFilter(int argc, char * argv[]) +int otbSpectralAngleDistanceImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilterNew.cxx b/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilterNew.cxx index f2c076bcf5ec60e2a154b059f4c5a415e0b1430b..bfe8c7073e7d7110d2c491c2d4950418e07f3d70 100644 --- a/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbSpectralAngleDistanceImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbSpectralAngleDistanceImageFilter.h" -int otbSpectralAngleDistanceImageFilterNew(int argc, char * argv[]) +int otbSpectralAngleDistanceImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbStreamingCompareImageFilter.cxx b/Testing/Code/BasicFilters/otbStreamingCompareImageFilter.cxx index cef4d0f14f19ae98ef2897e3735dd5484bacac29..fa7a914a6b6f1b7869518d45a86b8a2d1c0c1073 100644 --- a/Testing/Code/BasicFilters/otbStreamingCompareImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbStreamingCompareImageFilter.cxx @@ -24,7 +24,7 @@ #include <fstream> #include "otbStreamingTraits.h" -int otbStreamingCompareImageFilterNew(int argc, char * argv[]) +int otbStreamingCompareImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; @@ -40,7 +40,7 @@ int otbStreamingCompareImageFilterNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbStreamingCompareImageFilter(int argc, char * argv[]) +int otbStreamingCompareImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbStreamingHistogramVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbStreamingHistogramVectorImageFilter.cxx index 0a3dfe13b6e29291782284cf7e79138642d64bb6..45a6293e36954f46f3d96c900ce0e0319e127bab 100644 --- a/Testing/Code/BasicFilters/otbStreamingHistogramVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbStreamingHistogramVectorImageFilter.cxx @@ -24,11 +24,11 @@ typedef otb::StreamingHistogramVectorImageFilter<VectorImageType> -int otbStreamingHistogramVectorImageFilterNew(int argc, char * argv[]) +int otbStreamingHistogramVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { - + SHVIFType::Pointer SHVIFFilter = SHVIFType::New(); - + std::cout << SHVIFFilter << std::endl; return EXIT_SUCCESS; diff --git a/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilter.cxx index e9a3abd0d6f6d8c510223b57df1c102da12ba739..cc3e9053f5c2025f1a26daf7a2552249b6441172 100644 --- a/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilter.cxx @@ -20,7 +20,7 @@ #include "otbImageFileReader.h" #include <fstream> -int otbStreamingInnerProductVectorImageFilter(int argc, char* argv[]) +int otbStreamingInnerProductVectorImageFilter(int itkNotUsed(argc), char* argv[]) { const char * inputFileName = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilterNew.cxx index 12719f2e8c31255d6489f88d6f8f2bd71c8bc09b..5abb4e57be1a6362cdde61d6391f7e002def80fc 100644 --- a/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbStreamingInnerProductVectorImageFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbStreamingInnerProductVectorImageFilter.h" #include "otbVectorImage.h" -int otbStreamingInnerProductVectorImageFilterNew(int argc, char* argv[]) +int otbStreamingInnerProductVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilter.cxx b/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilter.cxx index 7acb27cc80c2ecf641abcec3e446c0643bd1a8ee..bf6b2e6ff58c91a5584455b3dd2154f3e2bc7aab 100644 --- a/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbStreamingTraits.h" #include "otbStandardFilterWatcher.h" -int otbStreamingMinMaxImageFilter(int argc, char * argv[]) +int otbStreamingMinMaxImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilterNew.cxx b/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilterNew.cxx index 579cb0b4f078dd6b79ade93dcd7042eb9ae938ff..a78bb68979b6bd06ad677a695dfa5c8fbb322fb7 100644 --- a/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbStreamingMinMaxImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbStreamingMinMaxImageFilter.h" #include "otbImage.h" -int otbStreamingMinMaxImageFilterNew(int argc, char * argv[]) +int otbStreamingMinMaxImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.cxx index dd71b229e429af42e7a1aeff51ac552c6a6e6f3b..b6ca3f6fd3d785bf45de8b9c2b7f5be4b9305217 100644 --- a/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbStreamingTraits.h" #include "otbStandardFilterWatcher.h" -int otbStreamingMinMaxVectorImageFilter(int argc, char * argv[]) +int otbStreamingMinMaxVectorImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilterNew.cxx index 009d2d57ca6eb4e5373fe64359970ae322df35d2..96b72718f21a954e34bf5676d2becddfb3a1ba2b 100644 --- a/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbStreamingMinMaxVectorImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbStreamingMinMaxVectorImageFilter.h" #include "otbVectorImage.h" -int otbStreamingMinMaxVectorImageFilterNew(int argc, char * argv[]) +int otbStreamingMinMaxVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbStreamingResampleImageFilter.cxx b/Testing/Code/BasicFilters/otbStreamingResampleImageFilter.cxx index fa3b9dd13b34445e1792ca28f9f1dca57f012ff5..4a42b96526b2cd92225d83b731cc20d7f075a55b 100644 --- a/Testing/Code/BasicFilters/otbStreamingResampleImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbStreamingResampleImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "itkTranslationTransform.h" -int otbStreamingResampleImageFilter(int argc, char * argv[]) +int otbStreamingResampleImageFilter(int itkNotUsed(argc), char * argv[]) { const char* inputFilename = argv[1]; const char* outputFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbStreamingResampleImageFilterCompareWithITK.cxx b/Testing/Code/BasicFilters/otbStreamingResampleImageFilterCompareWithITK.cxx index 40ac9b92dabfad9c520e99b3eff32adc2971c2a5..9a7f1d31e7de5e771d8b62f4f5ea0bf63ea6270f 100644 --- a/Testing/Code/BasicFilters/otbStreamingResampleImageFilterCompareWithITK.cxx +++ b/Testing/Code/BasicFilters/otbStreamingResampleImageFilterCompareWithITK.cxx @@ -28,7 +28,7 @@ #include "itkResampleImageFilter.h" -int otbStreamingResampleImageFilterCompareWithITK(int argc, char * argv[]) +int otbStreamingResampleImageFilterCompareWithITK(int itkNotUsed(argc), char * argv[]) { const char* inputFilename = argv[1]; unsigned int sizeXOutputImage = atoi(argv[2]); diff --git a/Testing/Code/BasicFilters/otbStreamingResampleImageFilterNew.cxx b/Testing/Code/BasicFilters/otbStreamingResampleImageFilterNew.cxx index ec1b5051d946bb131695042aa74ca4433d9db548..6c3eaeb86f74dccbff33f1627680669642358655 100644 --- a/Testing/Code/BasicFilters/otbStreamingResampleImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbStreamingResampleImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbStreamingResampleImageFilter.h" #include "otbImage.h" -int otbStreamingResampleImageFilterNew(int argc, char * argv[]) +int otbStreamingResampleImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx b/Testing/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx index 4783eb91657a386b29d5b7b01f4223b8b8d2220f..7c30fb36d0fcbab75c843d3aeb461adb4bf9604b 100644 --- a/Testing/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbStreamingShrinkImageFilter.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbStreamingShrinkImageFilter.h" -int otbStreamingShrinkImageFilter(int argc, char * argv[]) +int otbStreamingShrinkImageFilter(int itkNotUsed(argc), char * argv[]) { char * inputFilename = argv[1]; char * outputFilename = argv[2]; diff --git a/Testing/Code/BasicFilters/otbStreamingShrinkImageFilterNew.cxx b/Testing/Code/BasicFilters/otbStreamingShrinkImageFilterNew.cxx index 490fba01680d612b56e50d788224ef542166194d..bf402487c2a180741883daa3ecae6422a2b37963 100644 --- a/Testing/Code/BasicFilters/otbStreamingShrinkImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbStreamingShrinkImageFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbVectorImage.h" #include "otbStreamingShrinkImageFilter.h" -int otbStreamingShrinkImageFilterNew(int argc, char * argv[]) +int otbStreamingShrinkImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbStreamingStatisticsImageFilterNew.cxx b/Testing/Code/BasicFilters/otbStreamingStatisticsImageFilterNew.cxx index 358657cc5d9a9531ed558fb5740f6124f3690515..5c6f189fa8438dfede83404f7212ccae2332d03f 100644 --- a/Testing/Code/BasicFilters/otbStreamingStatisticsImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbStreamingStatisticsImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbStreamingStatisticsImageFilter.h" #include "otbImage.h" -int otbStreamingStatisticsImageFilterNew(int argc, char * argv[]) +int otbStreamingStatisticsImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbStreamingStatisticsMapFromLabelImageFilterTest.cxx b/Testing/Code/BasicFilters/otbStreamingStatisticsMapFromLabelImageFilterTest.cxx index f73f73a98076e4440fcb54d169017eade7093b85..03270691e13fc8b0c43b49039630a3b53f83859d 100644 --- a/Testing/Code/BasicFilters/otbStreamingStatisticsMapFromLabelImageFilterTest.cxx +++ b/Testing/Code/BasicFilters/otbStreamingStatisticsMapFromLabelImageFilterTest.cxx @@ -27,7 +27,7 @@ template<class InternalVectorPixelType> -int generic_StreamingStatisticsMapFromLabelImageFilterTest(int argc, char * argv[]) +int generic_StreamingStatisticsMapFromLabelImageFilterTest(int itkNotUsed(argc), char * argv[]) { typedef unsigned int LabelPixelType; diff --git a/Testing/Code/BasicFilters/otbStreamingStatisticsVectorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbStreamingStatisticsVectorImageFilterNew.cxx index 2f3ea695d72da46f1d60b31d0e405c7324dd2010..901b12c788d3ce3d329d3713eba598e43b70f0ea 100644 --- a/Testing/Code/BasicFilters/otbStreamingStatisticsVectorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbStreamingStatisticsVectorImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbStreamingStatisticsVectorImageFilter.h" #include "otbVectorImage.h" -int otbStreamingStatisticsVectorImageFilterNew(int argc, char * argv[]) +int otbStreamingStatisticsVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/BasicFilters/otbStreamingTraits.cxx b/Testing/Code/BasicFilters/otbStreamingTraits.cxx index ccedb02f8a4c01c47f5822e98fb68bdcfeeb0665..f8b6abc554bbab3db6242b7fe4bff64d0200ed9f 100644 --- a/Testing/Code/BasicFilters/otbStreamingTraits.cxx +++ b/Testing/Code/BasicFilters/otbStreamingTraits.cxx @@ -33,7 +33,7 @@ void TestInstanciate() std::cout << instance << std::endl; } -int otbStreamingTraitsImage(int argc, char* argv[]) +int otbStreamingTraitsImage(int itkNotUsed(argc), char** itkNotUsed(argv)) { // Images definition typedef otb::Image<PixelType, Dimension> ImageType; @@ -55,7 +55,7 @@ int otbStreamingTraitsImage(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbStreamingTraitsVectorImage(int argc, char* argv[]) +int otbStreamingTraitsVectorImage(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Images definition typedef otb::VectorImage<PixelType, Dimension> ImageType; diff --git a/Testing/Code/BasicFilters/otbThresholdVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbThresholdVectorImageFilter.cxx index 297d7cef1ef8107dee154352cc9a2b9e351abc45..763dabbfbe3cfccf2e06ef8255f87803a4a3b401 100644 --- a/Testing/Code/BasicFilters/otbThresholdVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbThresholdVectorImageFilter.cxx @@ -35,7 +35,7 @@ typedef otb::VectorImage<OutputPixelType, Dimension> OutputImageType; typedef otb::ThresholdVectorImageFilter<InputImageType, OutputImageType> FilterType; -int otbThresholdVectorImageFilterNew(int argc, char* argv[]) +int otbThresholdVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { /** instantiating the filter */ FilterType::Pointer filter = FilterType::New(); @@ -43,7 +43,7 @@ int otbThresholdVectorImageFilterNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbThresholdVectorImageFilterTest(int argc, char* argv[]) +int otbThresholdVectorImageFilterTest(int itkNotUsed(argc), char* argv[]) { typedef otb::ImageFileReader<InputImageType> ReaderType; typedef otb::ImageFileWriter<OutputImageType> WriterType; diff --git a/Testing/Code/BasicFilters/otbTileImageFilter.cxx b/Testing/Code/BasicFilters/otbTileImageFilter.cxx index 895b2d736f7f981243520c57f68e068c8a9ee800..59d57df181e2d8ba03b97171dc0f9ebb0ec6b8d8 100644 --- a/Testing/Code/BasicFilters/otbTileImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbTileImageFilter.cxx @@ -29,7 +29,7 @@ typedef otb::ImageFileReader<VectorImageType> VectorImageReaderType; typedef otb::ImageFileWriter<VectorImageType> VectorImageWriterType; -int otbTileImageFilterNew(int argc, char * argv[]) +int otbTileImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { TileImageFilterType::Pointer tileFilter = TileImageFilterType::New(); TileVectorImageFilterType::Pointer tileVectorFilter = TileVectorImageFilterType::New(); diff --git a/Testing/Code/BasicFilters/otbUnaryFunctorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbUnaryFunctorImageFilterNew.cxx index 3c6cc60dd8cea15fe690cbbe1756b511e6640a4b..c6faf89235d86fc37b9480d64cfbad7445df8deb 100644 --- a/Testing/Code/BasicFilters/otbUnaryFunctorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbUnaryFunctorImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbPhaseFunctor.h" #include "otbUnaryFunctorImageFilter.h" -int otbUnaryFunctorImageFilterNew(int argc, char * argv[]) +int otbUnaryFunctorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilter.cxx index d27507d9102922c965263bfd53f5a772a29df234..1ede567bdf60ca97148a3b9d2116627aa1f95000 100644 --- a/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "itkCastImageFilter.h" -int otbUnaryImageFunctorWithVectorImageFilter(int argc, char * argv[]) +int otbUnaryImageFunctorWithVectorImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilterNew.cxx b/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilterNew.cxx index a24d1c26864f2e5d932ada82d1e8ebdf28d4e9b7..2b4b0ca209d347c890a9731e4274c3fcd6cd38a2 100644 --- a/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbUnaryImageFunctorWithVectorImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "itkCosImageFilter.h" -int otbUnaryImageFunctorWithVectorImageFilterNew(int argc, char * argv[]) +int otbUnaryImageFunctorWithVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbVarianceImageFilter.cxx b/Testing/Code/BasicFilters/otbVarianceImageFilter.cxx index 72c2e3766e99754c25642ecda8875c527da5b1fb..8468f301e7e6e8dadc5219edc6f30d1ec0a3e801 100644 --- a/Testing/Code/BasicFilters/otbVarianceImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbVarianceImageFilter.cxx @@ -20,7 +20,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbVarianceImageFilter(int argc, char * argv[]) +int otbVarianceImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbVarianceImageFilterNew.cxx b/Testing/Code/BasicFilters/otbVarianceImageFilterNew.cxx index 7e5aefb2a115cd3d34ddec4b0b6345f3f1d972c7..d47ee37d13c747b1b45679e90de9b1889fd02a26 100644 --- a/Testing/Code/BasicFilters/otbVarianceImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbVarianceImageFilterNew.cxx @@ -18,7 +18,7 @@ #include "otbVarianceImageFilter.h" #include "otbImage.h" -int otbVarianceImageFilterNew(int argc, char * argv[]) +int otbVarianceImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbVectorDataToRandomLineGenerator.cxx b/Testing/Code/BasicFilters/otbVectorDataToRandomLineGenerator.cxx index 094b5a9149e3c0c55a94d8899c513076d26dc02e..1d45eafc3738d880b482a750066e1f277fac5080 100644 --- a/Testing/Code/BasicFilters/otbVectorDataToRandomLineGenerator.cxx +++ b/Testing/Code/BasicFilters/otbVectorDataToRandomLineGenerator.cxx @@ -22,7 +22,7 @@ #include "otbVectorDataFileWriter.h" #include "otbVectorDataToRandomLineGenerator.h" -int otbVectorDataToRandomLineGeneratorNew(int argc, char* argv[]) +int otbVectorDataToRandomLineGeneratorNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef otb::VectorData<> VectorDataType; typedef otb::VectorDataToRandomLineGenerator<VectorDataType> GeneratorType; @@ -35,7 +35,7 @@ int otbVectorDataToRandomLineGeneratorNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbVectorDataToRandomLineGenerator(int argc, char* argv[]) +int otbVectorDataToRandomLineGenerator(int itkNotUsed(argc), char* argv[]) { const char * inputVD = argv[1]; const char * outputVD = argv[2]; diff --git a/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.cxx b/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.cxx index b215f9eeda09d09d04d5f019e2504a510f4df156..6ca2a1fcff5564ee5324b8c495db1d226d7053fd 100644 --- a/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilter.cxx @@ -24,7 +24,7 @@ #include "itkImageRegionIterator.h" #include "itkImageSliceConstIteratorWithIndex.h" -int otbVectorImageTo3DScalarImageFilter(int argc, char * argv[]) +int otbVectorImageTo3DScalarImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int BiDimension = 2; const unsigned int TriDimension = 3; diff --git a/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilterNew.cxx b/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilterNew.cxx index 4876971a806d25e2311614baf8972c87da239b1f..b7af55b008e47ad2f8e58b47f78247d08c853e74 100644 --- a/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageTo3DScalarImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImage.h" #include "otbVectorImageTo3DScalarImageFilter.h" -int otbVectorImageTo3DScalarImageFilterNew(int argc, char * argv[]) +int otbVectorImageTo3DScalarImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int BiDimension = 2; const unsigned int TriDimension = 3; diff --git a/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilter.cxx b/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilter.cxx index 2910bc9dfd209b6130fba47de8dba31ccc9cc432..fffee7cd03bbbaeafa595fecc31d36607daae582 100644 --- a/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilter.cxx @@ -21,7 +21,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbVectorImageToAmplitudeImageFilter(int argc, char * argv[]) +int otbVectorImageToAmplitudeImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilterNew.cxx b/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilterNew.cxx index 31d328ebda31a73d7cb103b6e46cfc0833216835..e864c576e19d7b68a70469810ee102666500b54b 100644 --- a/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageToAmplitudeImageFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbVectorImageToAmplitudeImageFilterNew(int argc, char * argv[]) +int otbVectorImageToAmplitudeImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbVectorImageToImageListFilter.cxx b/Testing/Code/BasicFilters/otbVectorImageToImageListFilter.cxx index a7b32caf7d43016feea6d80131dad5672ad623ab..c961a811af2aac9fc663b5cb5a391cb9038220f0 100644 --- a/Testing/Code/BasicFilters/otbVectorImageToImageListFilter.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageToImageListFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbVectorImageToImageListFilter(int argc, char * argv[]) +int otbVectorImageToImageListFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; char * infname = argv[1]; @@ -71,7 +71,7 @@ int otbVectorImageToImageListFilter(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbVectorImageToImageListFilterIterator(int argc, char * argv[]) +int otbVectorImageToImageListFilterIterator(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; const char * infname = argv[1]; diff --git a/Testing/Code/BasicFilters/otbVectorImageToImageListFilterNew.cxx b/Testing/Code/BasicFilters/otbVectorImageToImageListFilterNew.cxx index facfb494b024ace09bb9cc860e5337a2470121aa..62cf1552859e61413013935421d131028c034472 100644 --- a/Testing/Code/BasicFilters/otbVectorImageToImageListFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageToImageListFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImageList.h" #include "otbImage.h" -int otbVectorImageToImageListFilterNew(int argc, char * argv[]) +int otbVectorImageToImageListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilter.cxx b/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilter.cxx index 59712a6668b2bf4fb95af505de9c974967ccf5b7..203addc208b14385d93d57f3ede5b759838bd71d 100644 --- a/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbVectorImageToIntensityImageFilter.h" -int otbVectorImageToIntensityImageFilter(int argc, char * argv[]) +int otbVectorImageToIntensityImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilterNew.cxx b/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilterNew.cxx index 4c22e142d18ac349dc872acf8fb9bb314805f7df..3159b1d619ca0c7e65af770c72169ba1596d0fce 100644 --- a/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageToIntensityImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbVectorImageToIntensityImageFilter.h" -int otbVectorImageToIntensityImageFilterNew(int argc, char * argv[]) +int otbVectorImageToIntensityImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/BasicFilters/otbVectorImageToMatrixImageFilter.cxx b/Testing/Code/BasicFilters/otbVectorImageToMatrixImageFilter.cxx index 6010eee1e240204b33873d5b397b6628404cc835..1eeaed9d2211ebf23454212b466cd0288942bb5b 100644 --- a/Testing/Code/BasicFilters/otbVectorImageToMatrixImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbVectorImageToMatrixImageFilter.cxx @@ -27,14 +27,14 @@ typedef otb::VectorImage<PixelType, Dimension> ImageType; typedef otb::VectorImageToMatrixImageFilter<ImageType> VectorImageToMatrixImageFilterType; typedef VectorImageToMatrixImageFilterType::MatrixType MatrixType; -int otbVectorImageToMatrixNewTest(int argc, char * argv[]) +int otbVectorImageToMatrixNewTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { VectorImageToMatrixImageFilterType::Pointer vim2matrix = VectorImageToMatrixImageFilterType::New(); std::cout << vim2matrix << std::endl; return EXIT_SUCCESS; } -int otbVectorImageToMatrixTest(int argc, char * argv[]) +int otbVectorImageToMatrixTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { ImageType::Pointer image = ImageType::New(); diff --git a/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.cxx b/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.cxx index ba519a825f34e402e4dd3b674524290b35093fc5..49dc10b5ca97c5325c3ba6119c78124ce2935224 100644 --- a/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.cxx @@ -23,7 +23,7 @@ #include "otbImageFileWriter.h" #include "otbMultiChannelExtractROI.h" -int otbVectorRescaleIntensityImageFilter(int argc, char * argv[]) +int otbVectorRescaleIntensityImageFilter(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilterNew.cxx b/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilterNew.cxx index fcd5ced62991541fa3f8b043700439b4300d3b1c..d753f0062bcabce6e6f1a65402a5c5fa9cbf77dc 100644 --- a/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilterNew.cxx +++ b/Testing/Code/BasicFilters/otbVectorRescaleIntensityImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorRescaleIntensityImageFilter.h" #include "otbVectorImage.h" -int otbVectorRescaleIntensityImageFilterNew(int argc, char * argv[]) +int otbVectorRescaleIntensityImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/BasicFilters/otbVerticalSobelVectorImageFilter.cxx b/Testing/Code/BasicFilters/otbVerticalSobelVectorImageFilter.cxx index 54d47d77bdfa8f1e5fc527f0de15135e18e6def6..165a9fcc02e706f5a593a3c83d02b8fc4c7e0167 100644 --- a/Testing/Code/BasicFilters/otbVerticalSobelVectorImageFilter.cxx +++ b/Testing/Code/BasicFilters/otbVerticalSobelVectorImageFilter.cxx @@ -26,7 +26,7 @@ #include "otbVerticalSobelVectorImageFilter.h" -int otbVerticalSobelVectorImageFilterNewTest ( int argc, char * argv[] ) +int otbVerticalSobelVectorImageFilterNewTest ( int itkNotUsed(argc), char ** itkNotUsed(argv) ) { const unsigned int Dimension = 2; typedef double PixelType; @@ -96,4 +96,3 @@ int otbVerticalSobelVectorImageFilterTest ( int argc, char* argv[] ) return EXIT_SUCCESS; } - diff --git a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx index f166a0d9bb93f104ddbe4c5f4e2baa5098e7547d..e41840192501316288e73c096282422142076a8c 100644 --- a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageBlackmanFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbWindowedSincInterpolateImageBlackmanFunction.h" #include "otbImage.h" -int otbWindowedSincInterpolateImageBlackmanFunctionNew(int argc, char * argv[]) +int otbWindowedSincInterpolateImageBlackmanFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::WindowedSincInterpolateImageBlackmanFunction<ImageType> InterpolatorType; diff --git a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageCosineFunctionNew.cxx b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageCosineFunctionNew.cxx index f9b4f9ebc1d0b0f52e1a47f2fcacaefd62b6c1c9..9ec50874905ded8c54e894b60a838aba788a5561 100644 --- a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageCosineFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageCosineFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbWindowedSincInterpolateImageCosineFunction.h" #include "otbImage.h" -int otbWindowedSincInterpolateImageCosineFunctionNew(int argc, char * argv[]) +int otbWindowedSincInterpolateImageCosineFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::WindowedSincInterpolateImageCosineFunction<ImageType> InterpolatorType; diff --git a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageFunctionBaseNew.cxx b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageFunctionBaseNew.cxx index 296df08e52bbdfa8acb17fd005e6550c8859ddcd..f52f6d26e715b03db505352742ea4b7f9e732e8c 100644 --- a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageFunctionBaseNew.cxx +++ b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageFunctionBaseNew.cxx @@ -44,7 +44,7 @@ public: } -int otbWindowedSincInterpolateImageFunctionBaseNew(int argc, char * argv[]) +int otbWindowedSincInterpolateImageFunctionBaseNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef Function::SameFunction<double, double> FunctionType; diff --git a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx index 119170a1d4d68ec0ae0491155c7dfa494fdd7bf0..a057ffa165a5f02906b922ee69cea35f650fc4da 100644 --- a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageGaussianFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbWindowedSincInterpolateImageGaussianFunction.h" #include "otbImage.h" -int otbWindowedSincInterpolateImageGaussianFunctionNew(int argc, char * argv[]) +int otbWindowedSincInterpolateImageGaussianFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::WindowedSincInterpolateImageGaussianFunction<ImageType> InterpolatorType; diff --git a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageHammingFunctionNew.cxx b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageHammingFunctionNew.cxx index 8b89683a5a52dbb1d7386511441d0b402be7c782..6a8c6885e9ab86eddfe98ac8755818d2d758fe2a 100644 --- a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageHammingFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageHammingFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbWindowedSincInterpolateImageHammingFunction.h" #include "otbImage.h" -int otbWindowedSincInterpolateImageHammingFunctionNew(int argc, char * argv[]) +int otbWindowedSincInterpolateImageHammingFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::WindowedSincInterpolateImageHammingFunction<ImageType> InterpolatorType; diff --git a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx index 454ff9747b740889ce26ef5797515f4520cf8b29..905a55ed2724032b1d640569ffdaabc75bde38b1 100644 --- a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageLanczosFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbWindowedSincInterpolateImageLanczosFunction.h" #include "otbImage.h" -int otbWindowedSincInterpolateImageLanczosFunctionNew(int argc, char * argv[]) +int otbWindowedSincInterpolateImageLanczosFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::WindowedSincInterpolateImageLanczosFunction<ImageType> InterpolatorType; diff --git a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageWelchFunctionNew.cxx b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageWelchFunctionNew.cxx index 81ecea1a63ffbe703bee66ed29f047a4abeeb1b9..d26e066ab499b05908177e21f8413280536d0fb3 100644 --- a/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageWelchFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbWindowedSincInterpolateImageWelchFunctionNew.cxx @@ -20,7 +20,7 @@ #include "otbWindowedSincInterpolateImageWelchFunction.h" #include "otbImage.h" -int otbWindowedSincInterpolateImageWelchFunctionNew(int argc, char * argv[]) +int otbWindowedSincInterpolateImageWelchFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Image<double, 2> ImageType; typedef otb::WindowedSincInterpolateImageWelchFunction<ImageType> InterpolatorType; diff --git a/Testing/Code/Common/otbConcatenateVectorImageFilter.cxx b/Testing/Code/Common/otbConcatenateVectorImageFilter.cxx index 7c4b91229c5cfac1f7bdf4bd29fd8c7431ab7ff3..4cf33cabb75bfe38184632427f1bb6842991e0ef 100644 --- a/Testing/Code/Common/otbConcatenateVectorImageFilter.cxx +++ b/Testing/Code/Common/otbConcatenateVectorImageFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileWriter.h" #include "otbConcatenateVectorImageFilter.h" -int otbConcatenateVectorImageFilter(int argc, char * argv[]) +int otbConcatenateVectorImageFilter(int itkNotUsed(argc), char * argv[]) { const char * filename1 = argv[1]; const char * filename2 = argv[2]; diff --git a/Testing/Code/Common/otbConcatenateVectorImageFilterNew.cxx b/Testing/Code/Common/otbConcatenateVectorImageFilterNew.cxx index 7bb9ce5cb6751f355d3e2e51526d5f7f6e19b3cd..d093b614f720bb70b2ce46af9bb3f70eafb0b9b9 100644 --- a/Testing/Code/Common/otbConcatenateVectorImageFilterNew.cxx +++ b/Testing/Code/Common/otbConcatenateVectorImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbConcatenateVectorImageFilter.h" #include "otbVectorImage.h" -int otbConcatenateVectorImageFilterNew(int argc, char * argv[]) +int otbConcatenateVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbConfigurationTest.cxx b/Testing/Code/Common/otbConfigurationTest.cxx index 6c08fdb9f4f9c63c69fb209d3117e5154573e459..53ad760dd36d9db6fad198ea87c17a551677ab0f 100644 --- a/Testing/Code/Common/otbConfigurationTest.cxx +++ b/Testing/Code/Common/otbConfigurationTest.cxx @@ -19,7 +19,7 @@ #include <fstream> #include "otbConfigurationFile.h" -int otbConfigurationTest(int argc, char * argv[]) +int otbConfigurationTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // std::cout << "begin config test" << std::endl; @@ -51,7 +51,7 @@ int otbConfigurationTest(int argc, char * argv[]) } -int otbConfigurationTestDEM(int argc, char * argv[]) +int otbConfigurationTestDEM(int argc, char *argv[]) { typedef otb::ConfigurationFile ConfigurationType; std::string demDir = otb::ConfigurationFile::GetInstance()->GetDEMDirectory(); @@ -93,4 +93,3 @@ int otbConfigurationTestDEM(int argc, char * argv[]) } return EXIT_SUCCESS; } - diff --git a/Testing/Code/Common/otbDataNodeTest.cxx b/Testing/Code/Common/otbDataNodeTest.cxx index 213d610c57e2fedf3fc79eb1554cd9e52d285043..6b09b64b6e543eaeae779748289bccdab1e03b1a 100644 --- a/Testing/Code/Common/otbDataNodeTest.cxx +++ b/Testing/Code/Common/otbDataNodeTest.cxx @@ -21,7 +21,7 @@ #include "otbDataNode.h" -int otbDataNodeTest(int argc, char * argv[]) +int otbDataNodeTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::DataNode<double, 2> DataNodeType; typedef DataNodeType::PointType PointType; diff --git a/Testing/Code/Common/otbDrawLineSpatialObject.cxx b/Testing/Code/Common/otbDrawLineSpatialObject.cxx index 779d52066bf6f21f910f49eb6370077160204bff..059b66432f2ac07fad156470ac28370017b71902 100644 --- a/Testing/Code/Common/otbDrawLineSpatialObject.cxx +++ b/Testing/Code/Common/otbDrawLineSpatialObject.cxx @@ -29,7 +29,7 @@ #include "otbDrawLineSpatialObjectFilter.h" -int otbDrawLineSpatialObject(int argc, char* argv[]) +int otbDrawLineSpatialObject(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Common/otbDrawLineSpatialObjectList.cxx b/Testing/Code/Common/otbDrawLineSpatialObjectList.cxx index ffef61d4c0e6e52d32eaa8889c88625f500520b1..761ce2deb64f17cf69ba7dc8d78098676843a88f 100644 --- a/Testing/Code/Common/otbDrawLineSpatialObjectList.cxx +++ b/Testing/Code/Common/otbDrawLineSpatialObjectList.cxx @@ -30,7 +30,7 @@ #include "otbDrawLineSpatialObjectListFilter.h" -int otbDrawLineSpatialObjectList(int argc, char* argv[]) +int otbDrawLineSpatialObjectList(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Common/otbDrawLineSpatialObjectListNew.cxx b/Testing/Code/Common/otbDrawLineSpatialObjectListNew.cxx index 4ffc20ec50c1100dc6e68c74fb7a7e489a9eda2b..24816124c59f00ef1ececb3a68c817458c3db2f2 100644 --- a/Testing/Code/Common/otbDrawLineSpatialObjectListNew.cxx +++ b/Testing/Code/Common/otbDrawLineSpatialObjectListNew.cxx @@ -24,7 +24,7 @@ #include "otbImage.h" #include "otbDrawLineSpatialObjectListFilter.h" -int otbDrawLineSpatialObjectListNew(int argc, char* argv[]) +int otbDrawLineSpatialObjectListNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef unsigned char OutputPixelType; diff --git a/Testing/Code/Common/otbDrawLineSpatialObjectNew.cxx b/Testing/Code/Common/otbDrawLineSpatialObjectNew.cxx index 33f9501ab6b28ff573defa31f0d4b47741da1936..a5dccc4d624a7301048e551599a9796d65097af0 100644 --- a/Testing/Code/Common/otbDrawLineSpatialObjectNew.cxx +++ b/Testing/Code/Common/otbDrawLineSpatialObjectNew.cxx @@ -24,7 +24,7 @@ #include "otbImage.h" #include "otbDrawLineSpatialObjectFilter.h" -int otbDrawLineSpatialObjectNew(int argc, char* argv[]) +int otbDrawLineSpatialObjectNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef double OutputPixelType; diff --git a/Testing/Code/Common/otbDrawPathFilterNew.cxx b/Testing/Code/Common/otbDrawPathFilterNew.cxx index 24a0189fef7acd7fc54f6567eafaab64e386a9ab..aad37e9ebf05fdef19416980601870790fe2e704 100644 --- a/Testing/Code/Common/otbDrawPathFilterNew.cxx +++ b/Testing/Code/Common/otbDrawPathFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "itkPolyLineParametricPath.h" -int otbDrawPathFilterNew(int argc, char * argv[]) +int otbDrawPathFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbDrawPathListFilterNew.cxx b/Testing/Code/Common/otbDrawPathListFilterNew.cxx index 8ee4b539503fe3a152aeaa7aa5fa580d412e89f3..5980a70f3f94f45d32ca883bef3e9f52a600047b 100644 --- a/Testing/Code/Common/otbDrawPathListFilterNew.cxx +++ b/Testing/Code/Common/otbDrawPathListFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbImage.h" #include "itkPolyLineParametricPath.h" -int otbDrawPathListFilterNew(int argc, char * argv[]) +int otbDrawPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbExtractROI.cxx b/Testing/Code/Common/otbExtractROI.cxx index 176a53c22bc589f7cb7f87c8be243f8c954a3df1..eb3337a4a7829b826e24855bc190b9a32fd2cb6b 100644 --- a/Testing/Code/Common/otbExtractROI.cxx +++ b/Testing/Code/Common/otbExtractROI.cxx @@ -22,7 +22,7 @@ #include "otbExtractROI.h" -int otbExtractROI(int argc, char * argv[]) +int otbExtractROI(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Common/otbExtractROI2.cxx b/Testing/Code/Common/otbExtractROI2.cxx index 99bbcec458513263459cd25ee1abd349a52c86c9..93463991f21c7b09937ad5450a40c907336cb00c 100644 --- a/Testing/Code/Common/otbExtractROI2.cxx +++ b/Testing/Code/Common/otbExtractROI2.cxx @@ -23,7 +23,7 @@ #include "otbExtractROI.h" -int otbExtractROI2(int argc, char * argv[]) +int otbExtractROI2(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Common/otbExtractROINew.cxx b/Testing/Code/Common/otbExtractROINew.cxx index 2e70b0a64f7d311c15fe1b573f9bf40204dd96e7..ee989cf273acc1c5a3f75cb1fb42e83163fd5939 100644 --- a/Testing/Code/Common/otbExtractROINew.cxx +++ b/Testing/Code/Common/otbExtractROINew.cxx @@ -20,7 +20,7 @@ #include "otbExtractROI.h" -int otbExtractROINew(int argc, char * argv[]) +int otbExtractROINew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef std::complex<float> InputPixelType; typedef std::complex<double> OutputPixelType; diff --git a/Testing/Code/Common/otbExtractROITestMetaData.cxx b/Testing/Code/Common/otbExtractROITestMetaData.cxx index 2094462e0810fbc3f2615417708fdfcccbca8941..e561c2b75f1d4b4c3fc966ec9424fea3353aa61c 100644 --- a/Testing/Code/Common/otbExtractROITestMetaData.cxx +++ b/Testing/Code/Common/otbExtractROITestMetaData.cxx @@ -32,7 +32,7 @@ #include "boost/algorithm/string.hpp" -int otbExtractROITestMetaData(int argc, char * argv[]) +int otbExtractROITestMetaData(int itkNotUsed(argc), char * argv[]) { typedef float PixelType; diff --git a/Testing/Code/Common/otbExtractROI_RGB.cxx b/Testing/Code/Common/otbExtractROI_RGB.cxx index a738adc612bd44aefcac272f785887d9f98f3fde..3bb1acf5de02ad9b849aab9071d7f74d0c865a3b 100644 --- a/Testing/Code/Common/otbExtractROI_RGB.cxx +++ b/Testing/Code/Common/otbExtractROI_RGB.cxx @@ -23,7 +23,7 @@ #include "otbExtractROI.h" #include "itkRGBPixel.h" -int otbExtractROI_RGB(int argc, char * argv[]) +int otbExtractROI_RGB(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Common/otbGISTableNew.cxx b/Testing/Code/Common/otbGISTableNew.cxx index b64bc1fa33a6ced5e70faaf2ce721fa7dfadc17f..a96ee70dd91ced468e83ec4cbdc7f35a00ffe886 100644 --- a/Testing/Code/Common/otbGISTableNew.cxx +++ b/Testing/Code/Common/otbGISTableNew.cxx @@ -21,7 +21,7 @@ #include "otbGISTable.h" #include "otbPostGISConnectionImplementation.h" -int otbGISTableNew(int argc, char * argv[]) +int otbGISTableNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::PostGISConnectionImplementation GISConnectionType; diff --git a/Testing/Code/Common/otbGISTableSourceNew.cxx b/Testing/Code/Common/otbGISTableSourceNew.cxx index a3efb40b5bf20cb219921d77b1c7652f60e1fbe4..4ecaf72802bb542ee13e9bcc2d81ecb9250a5f48 100644 --- a/Testing/Code/Common/otbGISTableSourceNew.cxx +++ b/Testing/Code/Common/otbGISTableSourceNew.cxx @@ -22,7 +22,7 @@ #include "otbGISTable.h" #include "otbPostGISConnectionImplementation.h" -int otbGISTableSourceNew(int argc, char * argv[]) +int otbGISTableSourceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::PostGISConnectionImplementation GISConnectionType; diff --git a/Testing/Code/Common/otbGISTableToGISTableFilterNew.cxx b/Testing/Code/Common/otbGISTableToGISTableFilterNew.cxx index 3e0414dcd73b23d553ab64625d9bdd1e05f01b0a..0a72f34e3fec11003ee2b0faef7d64b99bfa5c55 100644 --- a/Testing/Code/Common/otbGISTableToGISTableFilterNew.cxx +++ b/Testing/Code/Common/otbGISTableToGISTableFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbPostGISConnectionImplementation.h" #include "otbGISTableToGISTableFilter.h" -int otbGISTableToGISTableFilterNew(int argc, char * argv[]) +int otbGISTableToGISTableFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::PostGISConnectionImplementation GISConnectionType; typedef otb::GISTable<GISConnectionType, double, 2> GISTableType; diff --git a/Testing/Code/Common/otbGISTableToVectorDataFilter.cxx b/Testing/Code/Common/otbGISTableToVectorDataFilter.cxx index b87d726ebeefafe8ae6c385ad6aae620e4f26d22..cb535217c2841cc3228d890f42ff7b67d29312fc 100644 --- a/Testing/Code/Common/otbGISTableToVectorDataFilter.cxx +++ b/Testing/Code/Common/otbGISTableToVectorDataFilter.cxx @@ -25,7 +25,7 @@ #include "otbGISTableToVectorDataFilter.h" #include "otbPostGISConnectionImplementation.h" -int otbGISTableToVectorDataFilter(int argc, char * argv[]) +int otbGISTableToVectorDataFilter(int itkNotUsed(argc), char ** itkNotUsed(argv)) { /** Read a PostGIS table and write it in a VectorData. The Filter is based on the OGR reader/writer factory*/ if (argc != 6) diff --git a/Testing/Code/Common/otbGISTableToVectorDataFilterNew.cxx b/Testing/Code/Common/otbGISTableToVectorDataFilterNew.cxx index 107deb05d056d84b79ef31725589e00fec984f51..e523e9ca41e3fd248fd835feaa7a7074482d2c9d 100644 --- a/Testing/Code/Common/otbGISTableToVectorDataFilterNew.cxx +++ b/Testing/Code/Common/otbGISTableToVectorDataFilterNew.cxx @@ -23,7 +23,7 @@ #include "otbGISTableToVectorDataFilter.h" #include "otbPostGISConnectionImplementation.h" -int otbGISTableToVectorDataFilterNew(int argc, char * argv[]) +int otbGISTableToVectorDataFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char PType; diff --git a/Testing/Code/Common/otbGenericInterpolateImageFunctionNew.cxx b/Testing/Code/Common/otbGenericInterpolateImageFunctionNew.cxx index 8bdcc0b864d7921ba7d492cb76376e1062c63aee..f79b730ec6dd6ca7687df4b365380d0ff533b512 100644 --- a/Testing/Code/Common/otbGenericInterpolateImageFunctionNew.cxx +++ b/Testing/Code/Common/otbGenericInterpolateImageFunctionNew.cxx @@ -44,7 +44,7 @@ public: } -int otbGenericInterpolateImageFunctionNew(int argc, char * argv[]) +int otbGenericInterpolateImageFunctionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; diff --git a/Testing/Code/Common/otbHistogramStatisticsFunction.cxx b/Testing/Code/Common/otbHistogramStatisticsFunction.cxx index b159ffb2c958eb094fb74e3d77b3b30cd0fcb353..2b722ec9c8ca8bd92c7be2e1210a7f463fd3b3e7 100644 --- a/Testing/Code/Common/otbHistogramStatisticsFunction.cxx +++ b/Testing/Code/Common/otbHistogramStatisticsFunction.cxx @@ -21,7 +21,7 @@ #include "itkHistogram.h" #include "otbHistogramStatisticsFunction.h" -int otbHistogramStatisticsFunction(int argc, char* argv[]) +int otbHistogramStatisticsFunction(int itkNotUsed(argc), char * argv[]) { unsigned int NbOfBins((unsigned int) ::atoi(argv[1])); diff --git a/Testing/Code/Common/otbImageList.cxx b/Testing/Code/Common/otbImageList.cxx index b5c3427615a5fed34ca0d9c609c655c1289d553a..27af6bb9a2b171174b1d77f20fd0896ee63fe7e8 100644 --- a/Testing/Code/Common/otbImageList.cxx +++ b/Testing/Code/Common/otbImageList.cxx @@ -22,7 +22,7 @@ #include "otbImageList.h" #include "otbImage.h" -int otbImageList(int argc, char * argv[]) +int otbImageList(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Common/otbImageListNew.cxx b/Testing/Code/Common/otbImageListNew.cxx index a29075b2c3e181550eb33a78fa35d3bf41fc28dd..a51a8af0419b0342e4e2e9f3c402aaaa2f0b740e 100644 --- a/Testing/Code/Common/otbImageListNew.cxx +++ b/Testing/Code/Common/otbImageListNew.cxx @@ -20,7 +20,7 @@ #include "otbImageList.h" #include "otbImage.h" -int otbImageListNew(int argc, char * argv[]) +int otbImageListNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; diff --git a/Testing/Code/Common/otbImageListSourceNew.cxx b/Testing/Code/Common/otbImageListSourceNew.cxx index 6afffc7f047754eeb58069d90ddde71df7273adc..5f5a8b276cf9389cd13e123c19b22a4d442ee77a 100644 --- a/Testing/Code/Common/otbImageListSourceNew.cxx +++ b/Testing/Code/Common/otbImageListSourceNew.cxx @@ -20,7 +20,7 @@ #include "otbImageListSource.h" #include "otbImage.h" -int otbImageListSourceNew(int argc, char * argv[]) +int otbImageListSourceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/Common/otbImageListToImageFilterNew.cxx b/Testing/Code/Common/otbImageListToImageFilterNew.cxx index bb8b684eba8243b25a34d9311e1dc12ae88e50e4..fb155d1fe0deaec6a685eb890e2b7c53c6de0d9d 100644 --- a/Testing/Code/Common/otbImageListToImageFilterNew.cxx +++ b/Testing/Code/Common/otbImageListToImageFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageListToImageFilter.h" #include "otbImage.h" -int otbImageListToImageFilterNew(int argc, char * argv[]) +int otbImageListToImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/Common/otbImageListToImageListFilterNew.cxx b/Testing/Code/Common/otbImageListToImageListFilterNew.cxx index 04f1e64f86d3f00001937616c7ddf1f241d78ca1..cc83630602eb58784e3a67698fbcef70915fdc52 100644 --- a/Testing/Code/Common/otbImageListToImageListFilterNew.cxx +++ b/Testing/Code/Common/otbImageListToImageListFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageListToImageListFilter.h" #include "otbImage.h" -int otbImageListToImageListFilterNew(int argc, char * argv[]) +int otbImageListToImageListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/Common/otbImageListToVectorImageFilter.cxx b/Testing/Code/Common/otbImageListToVectorImageFilter.cxx index a040832b5ca4dfe18f190267e7243c8687d2d415..8350b0a3707bb1074d8fb7875faf166f4277e420 100644 --- a/Testing/Code/Common/otbImageListToVectorImageFilter.cxx +++ b/Testing/Code/Common/otbImageListToVectorImageFilter.cxx @@ -24,7 +24,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageListToVectorImageFilter(int argc, char * argv[]) +int otbImageListToVectorImageFilter(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbImageListToVectorImageFilter2.cxx b/Testing/Code/Common/otbImageListToVectorImageFilter2.cxx index f2894acdc565afa31f5a3ed335eaeb1e4c6e894b..08e8ebd7b222b8cc4145825ff74f6593eb48ef0a 100644 --- a/Testing/Code/Common/otbImageListToVectorImageFilter2.cxx +++ b/Testing/Code/Common/otbImageListToVectorImageFilter2.cxx @@ -23,7 +23,7 @@ #include "otbImageList.h" #include "otbImageFileReader.h" -int otbImageListToVectorImageFilter2(int argc, char * argv[]) +int otbImageListToVectorImageFilter2(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbImageListToVectorImageFilterNew.cxx b/Testing/Code/Common/otbImageListToVectorImageFilterNew.cxx index 800a97ebbd9b4c823467dc49d8ac630911b4b0a5..971661fa5faa40a8abb5993b74cf137622336238 100644 --- a/Testing/Code/Common/otbImageListToVectorImageFilterNew.cxx +++ b/Testing/Code/Common/otbImageListToVectorImageFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "otbImageList.h" -int otbImageListToVectorImageFilterNew(int argc, char * argv[]) +int otbImageListToVectorImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROI.cxx b/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROI.cxx index 7264c57c19977deeb873f9c3a114f3cb17761bfc..83f5f471f5f01b3d719290d405e8a3d3afca62ca 100644 --- a/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROI.cxx +++ b/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROI.cxx @@ -20,7 +20,7 @@ #include "otbImageFileWriter.h" #include "otbImage.h" -int otbImageOfVectorsToMonoChannelExtractROI(int argc, char * argv[]) +int otbImageOfVectorsToMonoChannelExtractROI(int itkNotUsed(argc), char * argv[]) { const int Dimension = 2; typedef unsigned char ScalarPixelType; diff --git a/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROINew.cxx b/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROINew.cxx index 95c0dc6ba61cf79802e63243938be34094d636e4..b1e3a9ccac81b3c5ad37579d19f9340b0377847d 100644 --- a/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROINew.cxx +++ b/Testing/Code/Common/otbImageOfVectorsToMonoChannelExtractROINew.cxx @@ -18,7 +18,7 @@ #include "otbImageOfVectorsToMonoChannelExtractROI.h" #include "otbImage.h" -int otbImageOfVectorsToMonoChannelExtractROINew(int argc, char * argv[]) +int otbImageOfVectorsToMonoChannelExtractROINew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef unsigned char ScalarPixelType; diff --git a/Testing/Code/Common/otbImageRegionAdaptativeSplitter.cxx b/Testing/Code/Common/otbImageRegionAdaptativeSplitter.cxx index 8d86af47f816fc9e79a2e645dc7a9cd7761d9f15..bde040b74a0c5575e4223b116fc94eb5c31210c0 100644 --- a/Testing/Code/Common/otbImageRegionAdaptativeSplitter.cxx +++ b/Testing/Code/Common/otbImageRegionAdaptativeSplitter.cxx @@ -24,7 +24,7 @@ typedef SplitterType::RegionType RegionType; typedef RegionType::SizeType SizeType; typedef RegionType::IndexType IndexType; -int otbImageRegionAdaptativeSplitterNew(int argc, char * argv[]) +int otbImageRegionAdaptativeSplitterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { SplitterType::Pointer splitter = SplitterType::New(); @@ -33,7 +33,7 @@ int otbImageRegionAdaptativeSplitterNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbImageRegionAdaptativeSplitter(int argc, char * argv[]) +int otbImageRegionAdaptativeSplitter(int itkNotUsed(argc), char * argv[]) { SizeType regionSize, tileHint; IndexType regionIndex; diff --git a/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitter.cxx b/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitter.cxx index 43646d095284b89cb345471939356a55fecf9efd..c4fdbbdbe31619603cb2dc61c1ed049eed3ff797 100644 --- a/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitter.cxx +++ b/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitter.cxx @@ -18,7 +18,7 @@ #include "otbImageRegionNonUniformMultidimensionalSplitter.h" #include <fstream> -int otbImageRegionNonUniformMultidimensionalSplitter(int argc, char * argv[]) +int otbImageRegionNonUniformMultidimensionalSplitter(int itkNotUsed(argc), char * argv[]) { const int Dimension = 2; typedef otb::ImageRegionNonUniformMultidimensionalSplitter<Dimension> FilterType; diff --git a/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx b/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx index 413ca26a10aa1556c0b8d3d88b4aa5909dca9b8b..d354727d0c3258ad1117c748c19046824dd96f82 100644 --- a/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx +++ b/Testing/Code/Common/otbImageRegionNonUniformMultidimensionalSplitterNew.cxx @@ -17,7 +17,7 @@ =========================================================================*/ #include "otbImageRegionNonUniformMultidimensionalSplitter.h" -int otbImageRegionNonUniformMultidimensionalSplitterNew(int argc, char * argv[]) +int otbImageRegionNonUniformMultidimensionalSplitterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef otb::ImageRegionNonUniformMultidimensionalSplitter<Dimension> FilterType; diff --git a/Testing/Code/Common/otbImageRegionSquareTileSplitter.cxx b/Testing/Code/Common/otbImageRegionSquareTileSplitter.cxx index 89c790ebca52e0ceb456886d77d74b2a98bd1460..ddfee4b74975966d32d3ea8567e82d218c849146 100644 --- a/Testing/Code/Common/otbImageRegionSquareTileSplitter.cxx +++ b/Testing/Code/Common/otbImageRegionSquareTileSplitter.cxx @@ -25,7 +25,7 @@ typedef SquareTileSplitterType::SizeType SizeType; typedef SquareTileSplitterType::RegionType RegionType; -int otbImageRegionSquareTileSplitterNew(int argc, char * argv[]) +int otbImageRegionSquareTileSplitterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { SquareTileSplitterType::Pointer splitter = SquareTileSplitterType::New(); @@ -80,7 +80,7 @@ int TestSplitter(const RegionType& region, unsigned int PixelSize, unsigned int } -int otbImageRegionSquareTileSplitter(int argc, char * argv[]) +int otbImageRegionSquareTileSplitter(int itkNotUsed(argc), char * argv[]) { std::ofstream outfile(argv[1]); RegionType region; diff --git a/Testing/Code/Common/otbImageRegionTileMapSplitter.cxx b/Testing/Code/Common/otbImageRegionTileMapSplitter.cxx index f9c2234e7aca63e232e884e9f54fe3d504ac9005..b45799e4f7afd5f152e6124cd32b7f43af0cf92a 100644 --- a/Testing/Code/Common/otbImageRegionTileMapSplitter.cxx +++ b/Testing/Code/Common/otbImageRegionTileMapSplitter.cxx @@ -18,7 +18,7 @@ #include "otbImageRegionTileMapSplitter.h" #include <fstream> -int otbImageRegionTileMapSplitter(int argc, char * argv[]) +int otbImageRegionTileMapSplitter(int itkNotUsed(argc), char * argv[]) { const int Dimension = 2; diff --git a/Testing/Code/Common/otbImageRegionTileMapSplitterNew.cxx b/Testing/Code/Common/otbImageRegionTileMapSplitterNew.cxx index 7d5a33ca369ef00327de501306e923825ac71a93..ea9774ba21e92599e794af4fd7f165692cbc1c2e 100644 --- a/Testing/Code/Common/otbImageRegionTileMapSplitterNew.cxx +++ b/Testing/Code/Common/otbImageRegionTileMapSplitterNew.cxx @@ -17,7 +17,7 @@ =========================================================================*/ #include "otbImageRegionTileMapSplitter.h" -int otbImageRegionTileMapSplitterNew(int argc, char * argv[]) +int otbImageRegionTileMapSplitterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const int Dimension = 2; typedef otb::ImageRegionTileMapSplitter<Dimension> FilterType; diff --git a/Testing/Code/Common/otbImageToImageListFilterNew.cxx b/Testing/Code/Common/otbImageToImageListFilterNew.cxx index 53440a14bee4ccc3ad49a3620bd13244916dd171..801b1dbe9fa55d8c6173a6e51831bf279bda8df7 100644 --- a/Testing/Code/Common/otbImageToImageListFilterNew.cxx +++ b/Testing/Code/Common/otbImageToImageListFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageToImageListFilter.h" #include "otbImage.h" -int otbImageToImageListFilterNew(int argc, char * argv[]) +int otbImageToImageListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char InputPixelType; diff --git a/Testing/Code/Common/otbImageToLineSpatialObjectListNew.cxx b/Testing/Code/Common/otbImageToLineSpatialObjectListNew.cxx index c07d3cd460afc7d05e4bc10ac12a304fef6a7fad..a0c86688c303de4644f66f8148d2a8a82c6f4b72 100644 --- a/Testing/Code/Common/otbImageToLineSpatialObjectListNew.cxx +++ b/Testing/Code/Common/otbImageToLineSpatialObjectListNew.cxx @@ -24,7 +24,7 @@ #include "otbImage.h" #include "otbImageToLineSpatialObjectListFilter.h" -int otbImageToLineSpatialObjectListNew(int argc, char* argv[]) +int otbImageToLineSpatialObjectListNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char InputPixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/Common/otbImageToPathFilterNew.cxx b/Testing/Code/Common/otbImageToPathFilterNew.cxx index f669c09f5d6f44d44ba29feb1818d6afac9f7f4e..6ffd8a07c5f0671b09d63c9fa06c9a2c70230416 100644 --- a/Testing/Code/Common/otbImageToPathFilterNew.cxx +++ b/Testing/Code/Common/otbImageToPathFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbImageToPathFilter.h" #include "otbImage.h" -int otbImageToPathFilterNew(int argc, char * argv[]) +int otbImageToPathFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbImageToVectorImageCastFilter.cxx b/Testing/Code/Common/otbImageToVectorImageCastFilter.cxx index 3f7949492b09ebbbb6f16ab0028adf8f91c71a93..b629134c2c624f33fccb819964907e7eb9ff3469 100644 --- a/Testing/Code/Common/otbImageToVectorImageCastFilter.cxx +++ b/Testing/Code/Common/otbImageToVectorImageCastFilter.cxx @@ -22,7 +22,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbImageToVectorImageCastFilter(int argc, char * argv[]) +int otbImageToVectorImageCastFilter(int itkNotUsed(argc), char * argv[]) { const char * infilename = argv[1]; const char * outfilename = argv[2]; diff --git a/Testing/Code/Common/otbImageToVectorImageCastFilterNew.cxx b/Testing/Code/Common/otbImageToVectorImageCastFilterNew.cxx index 101d529b38aca74caca096980d9f498a1818f475..730fae13ea4ee704af0c9569c7b64e4ca262ac45 100644 --- a/Testing/Code/Common/otbImageToVectorImageCastFilterNew.cxx +++ b/Testing/Code/Common/otbImageToVectorImageCastFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbImage.h" -int otbImageToVectorImageCastFilterNew(int argc, char * argv[]) +int otbImageToVectorImageCastFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double PixelType; const unsigned int Dimension = 2; diff --git a/Testing/Code/Common/otbLabelImageToOGRDataSourceFilter.cxx b/Testing/Code/Common/otbLabelImageToOGRDataSourceFilter.cxx index 8f8c4d933ab9e9c316a25567cc2badbeb4934686..a9b7ed466e941c6cb0bb8b50f46e87c7fdaba977 100644 --- a/Testing/Code/Common/otbLabelImageToOGRDataSourceFilter.cxx +++ b/Testing/Code/Common/otbLabelImageToOGRDataSourceFilter.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbVectorDataFileWriter.h" -int otbLabelImageToOGRDataSourceFilterNew(int argc, char * argv[]) +int otbLabelImageToOGRDataSourceFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned short LabelType; @@ -48,7 +48,6 @@ int otbLabelImageToOGRDataSourceFilter(int argc, char * argv[]) const char * infname = argv[1]; const char * outfname = argv[2]; - const unsigned int Dimension = 2; typedef unsigned short LabelType; typedef otb::Image<LabelType, Dimension> InputLabelImageType; diff --git a/Testing/Code/Common/otbLabelImageToVectorDataFilterNew.cxx b/Testing/Code/Common/otbLabelImageToVectorDataFilterNew.cxx index f66c9830b42b615a86648bc7d37630fb0ce830b8..eb71201f3bbed7834dab3dc0b6bc1c8cc51b426b 100644 --- a/Testing/Code/Common/otbLabelImageToVectorDataFilterNew.cxx +++ b/Testing/Code/Common/otbLabelImageToVectorDataFilterNew.cxx @@ -20,7 +20,7 @@ #include "otbLabelImageToVectorDataFilter.h" #include "otbImage.h" -int otbLabelImageToVectorDataFilterNew(int argc, char * argv[]) +int otbLabelImageToVectorDataFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned short LabelType; diff --git a/Testing/Code/Common/otbLineSpatialObjectList.cxx b/Testing/Code/Common/otbLineSpatialObjectList.cxx index 0bf6c1724c1892fcc2b0b6d9115eb74f1e475459..b8fffa6bec4fb1cb68d9f7af90a48485e8526e88 100644 --- a/Testing/Code/Common/otbLineSpatialObjectList.cxx +++ b/Testing/Code/Common/otbLineSpatialObjectList.cxx @@ -21,7 +21,7 @@ #include "otbLineSpatialObjectList.h" #include <list> -int otbLineSpatialObjectList(int argc, char * argv[]) +int otbLineSpatialObjectList(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::LineSpatialObjectList LineSpatialObjectListType; typedef LineSpatialObjectListType::LineType LineSpatialObjecType; diff --git a/Testing/Code/Common/otbLineSpatialObjectListToPointSetFilterNew.cxx b/Testing/Code/Common/otbLineSpatialObjectListToPointSetFilterNew.cxx index 9c1a3794a11598a9bb4ca57e0f000a75559cb472..7b936c6ac502a9c6ab5c967f7d52121a4c994926 100644 --- a/Testing/Code/Common/otbLineSpatialObjectListToPointSetFilterNew.cxx +++ b/Testing/Code/Common/otbLineSpatialObjectListToPointSetFilterNew.cxx @@ -24,7 +24,7 @@ #include "otbLineSpatialObjectListToPointSetFilter.h" -int otbLineSpatialObjectListToPointSetFilterNew(int argc, char* argv[]) +int otbLineSpatialObjectListToPointSetFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef float InputPixelType; typedef otb::LineSpatialObjectList LinesListType; diff --git a/Testing/Code/Common/otbLineSpatialObjectNew.cxx b/Testing/Code/Common/otbLineSpatialObjectNew.cxx index edbd27dc637ce72b87efbbe6a442c969c22a3a9d..c77e56876829955b08de9e5edebe7fec63902260 100644 --- a/Testing/Code/Common/otbLineSpatialObjectNew.cxx +++ b/Testing/Code/Common/otbLineSpatialObjectNew.cxx @@ -19,7 +19,7 @@ #include "otbLineSpatialObject.h" -int otbLineSpatialObjectNew(int argc, char * argv[]) +int otbLineSpatialObjectNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef otb::LineSpatialObject<Dimension> LineSpatialObjectType; diff --git a/Testing/Code/Common/otbMultiChannelExtractROI.cxx b/Testing/Code/Common/otbMultiChannelExtractROI.cxx index 2f1f9eaa4c03d6c3d5bafdd23647f3a9c77084f3..2b73c620894ed6ebc0fe107ea601a1ef86d52f4a 100644 --- a/Testing/Code/Common/otbMultiChannelExtractROI.cxx +++ b/Testing/Code/Common/otbMultiChannelExtractROI.cxx @@ -28,7 +28,7 @@ template <typename InputPixelType /*= unsigned char */, typename OutputPixelType /*= unsigned char*/> -int generic_otbMultiChannelExtractROI(int argc, char * argv[], const char * inputFilename, const char * outputFilename) +int generic_otbMultiChannelExtractROI(int itkNotUsed(argc), char * argv[], const char * inputFilename, const char * outputFilename) { typedef otb::MultiChannelExtractROI<InputPixelType, OutputPixelType> ExtractROIFilterType; diff --git a/Testing/Code/Common/otbMultiChannelExtractROINew.cxx b/Testing/Code/Common/otbMultiChannelExtractROINew.cxx index 4729a56f079b49b58a5785fb8d99628d53c2eae5..4a19057fe4bc8362ca89864957bc4d04c70e015b 100644 --- a/Testing/Code/Common/otbMultiChannelExtractROINew.cxx +++ b/Testing/Code/Common/otbMultiChannelExtractROINew.cxx @@ -19,7 +19,7 @@ #include "itkMacro.h" #include "otbMultiChannelExtractROI.h" -int otbMultiChannelExtractROINew(int argc, char * argv[]) +int otbMultiChannelExtractROINew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // typedef unsigned char InputPixelType; // typedef unsigned char OutputPixelType; diff --git a/Testing/Code/Common/otbMultiToMonoChannelExtractROI.cxx b/Testing/Code/Common/otbMultiToMonoChannelExtractROI.cxx index f9d828813647640578ebedf26fab95582019c0d9..ed3957d71f28a8c6ea556da5b6ec2b7b50ae0447 100644 --- a/Testing/Code/Common/otbMultiToMonoChannelExtractROI.cxx +++ b/Testing/Code/Common/otbMultiToMonoChannelExtractROI.cxx @@ -23,7 +23,7 @@ #include "otbMultiToMonoChannelExtractROI.h" template <typename InputPixelType, typename OutputPixelType> -int generic_otbMultiToMonoChannelExtractROI(int argc, +int generic_otbMultiToMonoChannelExtractROI(int itkNotUsed(argc), char * argv[], const char * inputFilename, const char * outputFilename) diff --git a/Testing/Code/Common/otbMultiToMonoChannelExtractROINew.cxx b/Testing/Code/Common/otbMultiToMonoChannelExtractROINew.cxx index bc4bdbcf3531ef4debf1dd5bc47e84b30d243291..ac61e5f230da4e16f0536652d9fe90e088ac8ff0 100644 --- a/Testing/Code/Common/otbMultiToMonoChannelExtractROINew.cxx +++ b/Testing/Code/Common/otbMultiToMonoChannelExtractROINew.cxx @@ -19,7 +19,7 @@ #include "itkMacro.h" #include "otbMultiToMonoChannelExtractROI.h" -int otbMultiToMonoChannelExtractROINew(int argc, char * argv[]) +int otbMultiToMonoChannelExtractROINew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // typedef unsigned char InputPixelType; diff --git a/Testing/Code/Common/otbOGRDataSourceToLabelImageFilter.cxx b/Testing/Code/Common/otbOGRDataSourceToLabelImageFilter.cxx index 19b8c1bb378265097458a17895732eac8f9ca6ec..3d8968717226633c41f4f4686eebceb7318daafc 100644 --- a/Testing/Code/Common/otbOGRDataSourceToLabelImageFilter.cxx +++ b/Testing/Code/Common/otbOGRDataSourceToLabelImageFilter.cxx @@ -32,13 +32,13 @@ typedef otb::ImageFileReader<ImageType> ReaderType; typedef otb::ImageFileWriter<ImageType> WriterType; typedef otb::OGRDataSourceToLabelImageFilter<ImageType> RasterizationFilterType; -int otbOGRDataSourceToLabelImageFilterNew(int argc, char* argv[]) +int otbOGRDataSourceToLabelImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { RasterizationFilterType::Pointer rasterization = RasterizationFilterType::New(); return EXIT_SUCCESS; } -int otbOGRDataSourceToLabelImageFilter(int argc, char* argv[]) +int otbOGRDataSourceToLabelImageFilter(int itkNotUsed(argc), char * argv[]) { ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/Common/otbObjectList.cxx b/Testing/Code/Common/otbObjectList.cxx index 8b235299a78224fd55427214c41f65b98843c347..612159f0555eb2ae87a1c665cb1008348f412be7 100644 --- a/Testing/Code/Common/otbObjectList.cxx +++ b/Testing/Code/Common/otbObjectList.cxx @@ -22,7 +22,7 @@ #include "otbImage.h" #include "otbMacro.h" -int otbObjectList(int argc, char * argv[]) +int otbObjectList(int itkNotUsed(argc), char * argv[]) { const char * inputFilename1 = argv[1]; const char * inputFilename2 = argv[2]; diff --git a/Testing/Code/Common/otbObjectList2.cxx b/Testing/Code/Common/otbObjectList2.cxx index 0a3cb00cd5e971259043537f5559388e05a85e69..c59b967e6b4ba2e9c999127824b7114ed64a288b 100644 --- a/Testing/Code/Common/otbObjectList2.cxx +++ b/Testing/Code/Common/otbObjectList2.cxx @@ -22,7 +22,7 @@ #include "otbMacro.h" #include <vector> -int otbObjectList2(int argc, char * argv[]) +int otbObjectList2(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Polygon<double> PolygonType; diff --git a/Testing/Code/Common/otbObjectListNew.cxx b/Testing/Code/Common/otbObjectListNew.cxx index f3c879762750b230830b52bc98c2cadc447a526d..e7a8f4c419f78874b3014d5b894e56fdf1fcdb0b 100644 --- a/Testing/Code/Common/otbObjectListNew.cxx +++ b/Testing/Code/Common/otbObjectListNew.cxx @@ -19,7 +19,7 @@ #include "otbObjectList.h" #include "otbImage.h" -int otbObjectListNew(int argc, char * argv[]) +int otbObjectListNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbObjectListToObjectListFilterNew.cxx b/Testing/Code/Common/otbObjectListToObjectListFilterNew.cxx index aea4ed278309ac425dea1cf80e8031d47fe04c83..b4e820a45a2f482d87bc8c3780f5ba52a7332346 100644 --- a/Testing/Code/Common/otbObjectListToObjectListFilterNew.cxx +++ b/Testing/Code/Common/otbObjectListToObjectListFilterNew.cxx @@ -22,7 +22,7 @@ #include "otbPolyLineParametricPathWithValue.h" #include "otbPolygon.h" -int otbObjectListToObjectListFilterNew(int argc, char * argv[]) +int otbObjectListToObjectListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::PolyLineParametricPathWithValue<std::complex<int>, 2> InputObjectType; typedef otb::Polygon<unsigned char> OutputObjectType; diff --git a/Testing/Code/Common/otbParserTest.cxx b/Testing/Code/Common/otbParserTest.cxx index 334bcc49b29a64951e188d8c501f25f2fbb142c8..7485d3f0e6d18776762a87e2786fdb01955a2a5a 100644 --- a/Testing/Code/Common/otbParserTest.cxx +++ b/Testing/Code/Common/otbParserTest.cxx @@ -20,7 +20,7 @@ typedef otb::Parser ParserType; -int otbParserTestNew(int argc, char * argv[]) +int otbParserTestNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Instantiating object ParserType::Pointer parser = ParserType::New(); @@ -112,7 +112,7 @@ void otbParserTest_LogicalOperator(void) otbParserTest_ThrowIfNotEqual(static_cast<int>(parser->Eval()), 1, "LogicalOperator or"); } -int otbParserTest(int argc, char * argv[]) +int otbParserTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otbParserTest_Numerical(); otbParserTest_BuildInFun(); diff --git a/Testing/Code/Common/otbPathListToHistogramGenerator.cxx b/Testing/Code/Common/otbPathListToHistogramGenerator.cxx index 4ca6bbd500a9d069f48878f8482a1de477a0782a..13261cbd8507b008aa25a3320959824c6604b603 100644 --- a/Testing/Code/Common/otbPathListToHistogramGenerator.cxx +++ b/Testing/Code/Common/otbPathListToHistogramGenerator.cxx @@ -25,7 +25,7 @@ #include "otbMath.h" #include "otbObjectList.h" -int otbPathListToHistogramGenerator(int argc, char* argv[]) +int otbPathListToHistogramGenerator(int itkNotUsed(argc), char * argv[]) { unsigned int NbOfBins((unsigned int) ::atoi(argv[1])); unsigned int NbOfPointsPerHistogram((unsigned int) ::atoi(argv[2])); diff --git a/Testing/Code/Common/otbPathListToHistogramGeneratorNew.cxx b/Testing/Code/Common/otbPathListToHistogramGeneratorNew.cxx index 3d502ee8c0fdfa0291df51b79a98b95648c46865..3090836416d535c0771e5103aa0d1269118a07a7 100644 --- a/Testing/Code/Common/otbPathListToHistogramGeneratorNew.cxx +++ b/Testing/Code/Common/otbPathListToHistogramGeneratorNew.cxx @@ -23,7 +23,7 @@ #include "otbOrientationPathFunction.h" #include "otbPathListToHistogramGenerator.h" -int otbPathListToHistogramGeneratorNew(int argc, char* argv[]) +int otbPathListToHistogramGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/Common/otbPathListToPathListFilterNew.cxx b/Testing/Code/Common/otbPathListToPathListFilterNew.cxx index a0e5a3a12b187bede422e3f2a7f868d7d03b1013..389a027e90d1f46bc584050fbd6cc868143abd6d 100644 --- a/Testing/Code/Common/otbPathListToPathListFilterNew.cxx +++ b/Testing/Code/Common/otbPathListToPathListFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbPathListToPathListFilter.h" #include "itkPolyLineParametricPath.h" -int otbPathListToPathListFilterNew(int argc, char * argv[]) +int otbPathListToPathListFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::PolyLineParametricPath<Dimension> PathType; diff --git a/Testing/Code/Common/otbPipelineMemoryPrintCalculatorTest.cxx b/Testing/Code/Common/otbPipelineMemoryPrintCalculatorTest.cxx index c0321115f6579d9501a6ce71d72638337864f86c..6be03cc68e58aa661c98644cdf0ca484258b5e81 100644 --- a/Testing/Code/Common/otbPipelineMemoryPrintCalculatorTest.cxx +++ b/Testing/Code/Common/otbPipelineMemoryPrintCalculatorTest.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbVectorImageToIntensityImageFilter.h" -int otbPipelineMemoryPrintCalculatorNew(int argc, char * argv[]) +int otbPipelineMemoryPrintCalculatorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::PipelineMemoryPrintCalculator::Pointer calculator = otb::PipelineMemoryPrintCalculator::New(); @@ -30,7 +30,7 @@ int otbPipelineMemoryPrintCalculatorNew(int argc, char * argv[]) } -int otbPipelineMemoryPrintCalculatorTest(int argc, char * argv[]) +int otbPipelineMemoryPrintCalculatorTest(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorImage<double, 2> VectorImageType; typedef otb::Image<double, 2> ImageType; diff --git a/Testing/Code/Common/otbPointSetSourceTest.cxx b/Testing/Code/Common/otbPointSetSourceTest.cxx index 92990eb7a41d429fb21f209357cc8c6ff13c0492..e5f20ea57328b5791d85a674b60bc90ad95186f0 100644 --- a/Testing/Code/Common/otbPointSetSourceTest.cxx +++ b/Testing/Code/Common/otbPointSetSourceTest.cxx @@ -22,7 +22,7 @@ #include "otbPointSetSource.h" #include "itkMacro.h" -int otbPointSetSourceTest(int argc, char* argv[]) +int otbPointSetSourceTest(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // Declare the PointSet pixel type. // Those are the values associated diff --git a/Testing/Code/Common/otbPolyLineParametricPathWithValueNew.cxx b/Testing/Code/Common/otbPolyLineParametricPathWithValueNew.cxx index 8323afd97ab3b6e3d4665cd48b849f1622ad69d7..1d7886ac2ecb2e173282f07802c8e5fe1140665e 100644 --- a/Testing/Code/Common/otbPolyLineParametricPathWithValueNew.cxx +++ b/Testing/Code/Common/otbPolyLineParametricPathWithValueNew.cxx @@ -20,7 +20,7 @@ #include "otbPolyLineParametricPathWithValue.h" -int otbPolyLineParametricPathWithValueNew(int argc, char * argv[]) +int otbPolyLineParametricPathWithValueNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double ValueType; diff --git a/Testing/Code/Common/otbPolygon.cxx b/Testing/Code/Common/otbPolygon.cxx index 3a2648b59e572a72fd1827cea1eceed1d142e01f..73b5639e27e9e22de6f146247430350531b746e7 100644 --- a/Testing/Code/Common/otbPolygon.cxx +++ b/Testing/Code/Common/otbPolygon.cxx @@ -21,7 +21,7 @@ #include "otbPolygon.h" -int otbPolygon(int argc, char * argv[]) +int otbPolygon(int itkNotUsed(argc), char * argv[]) { typedef otb::Polygon<> PolygonType; typedef PolygonType::ContinuousIndexType ContinuousIndexType; diff --git a/Testing/Code/Common/otbPolygonNew.cxx b/Testing/Code/Common/otbPolygonNew.cxx index febff8ceb0105e1bf8219b3f8aff5ac4bafc895b..fdad6b39007ee85186990f8ee597c2206c7ae987 100644 --- a/Testing/Code/Common/otbPolygonNew.cxx +++ b/Testing/Code/Common/otbPolygonNew.cxx @@ -20,7 +20,7 @@ #include "otbPolygon.h" -int otbPolygonNew(int argc, char * argv[]) +int otbPolygonNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Polygon<> PolygonType; diff --git a/Testing/Code/Common/otbPolygonizationRasterizationTest.cxx b/Testing/Code/Common/otbPolygonizationRasterizationTest.cxx index e36a40540f734a47947946942ec83c55e4c7a4d7..41c0aced8c0df8de3f6955205b136a7c7c827352 100644 --- a/Testing/Code/Common/otbPolygonizationRasterizationTest.cxx +++ b/Testing/Code/Common/otbPolygonizationRasterizationTest.cxx @@ -30,7 +30,7 @@ #include "itkNumericTraits.h" #include "itkImageRegionConstIteratorWithIndex.h" -int otbPolygonizationRasterizationTest(int argc, char* argv[]) +int otbPolygonizationRasterizationTest(int itkNotUsed(argc), char * argv[]) { typedef unsigned int PixelType; typedef otb::Image<PixelType, 2> ImageType; diff --git a/Testing/Code/Common/otbPostGISTableNew.cxx b/Testing/Code/Common/otbPostGISTableNew.cxx index 85664a18653682d5de2a2cda928430cece3da86e..09ff8fded31efa3c2a77e92eff1852c1dbabba48 100644 --- a/Testing/Code/Common/otbPostGISTableNew.cxx +++ b/Testing/Code/Common/otbPostGISTableNew.cxx @@ -21,7 +21,7 @@ #include "otbPostGISTable.h" #include "otbPostGISConnectionImplementation.h" -int otbPostGISTableNew(int argc, char * argv[]) +int otbPostGISTableNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::PostGISConnectionImplementation GISConnectionType; diff --git a/Testing/Code/Common/otbRGBAPixelConverter.cxx b/Testing/Code/Common/otbRGBAPixelConverter.cxx index 97a648f678285da95ad894e07be56c2a661e1d59..ea7a772a7ef45ae518ab342e46e7a623d8b96c77 100644 --- a/Testing/Code/Common/otbRGBAPixelConverter.cxx +++ b/Testing/Code/Common/otbRGBAPixelConverter.cxx @@ -21,7 +21,7 @@ #include "otbRGBAPixelConverter.h" -int otbRGBAPixelConverterNew(int argc, char * argv[]) +int otbRGBAPixelConverterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned char PixelType0; typedef double PixelType1; @@ -47,7 +47,7 @@ int otbRGBAPixelConverterNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbRGBAPixelConverter(int argc, char * argv[]) +int otbRGBAPixelConverter(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef unsigned int PixelType0; typedef double PixelType1; diff --git a/Testing/Code/Common/otbRectangle.cxx b/Testing/Code/Common/otbRectangle.cxx index 3519632e85cabbe0fec86dcfb0bc392482609eaf..79c52cdff8772a2dee54acb532272b3f95c92189 100644 --- a/Testing/Code/Common/otbRectangle.cxx +++ b/Testing/Code/Common/otbRectangle.cxx @@ -20,7 +20,7 @@ #include <iostream> #include <fstream> -int otbRectangle(int argc, char * argv[]) +int otbRectangle(int itkNotUsed(argc), char * argv[]) { const char * outfname = argv[1]; diff --git a/Testing/Code/Common/otbRectangleNew.cxx b/Testing/Code/Common/otbRectangleNew.cxx index ca8168671e0b1c6f3efc7dee2179c53c2f44b97d..fd92483894d47f9aec135abec5e5af43283b688d 100644 --- a/Testing/Code/Common/otbRectangleNew.cxx +++ b/Testing/Code/Common/otbRectangleNew.cxx @@ -18,7 +18,7 @@ #include "otbRectangle.h" -int otbRectangleNew(int argc, char * argv[]) +int otbRectangleNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::Rectangle<> RectangleType; diff --git a/Testing/Code/Common/otbRemoteSensingRegion.cxx b/Testing/Code/Common/otbRemoteSensingRegion.cxx index f8f3f815215437a7719af78b70f0660b9eba7e77..9b7d22f9bbd7d239a1ee5deb8d571ba301e8345d 100644 --- a/Testing/Code/Common/otbRemoteSensingRegion.cxx +++ b/Testing/Code/Common/otbRemoteSensingRegion.cxx @@ -18,7 +18,7 @@ #include "otbRemoteSensingRegion.h" -int otbRemoteSensingRegion(int argc, char * argv[]) +int otbRemoteSensingRegion(int itkNotUsed(argc), char * argv[]) { typedef double Type; diff --git a/Testing/Code/Common/otbRemoteSensingRegionNew.cxx b/Testing/Code/Common/otbRemoteSensingRegionNew.cxx index 1374b742f6ba935b1a3431747484021992030f6d..e9cb953960f3f1cdab9dbe75ef05aa69ae56763b 100644 --- a/Testing/Code/Common/otbRemoteSensingRegionNew.cxx +++ b/Testing/Code/Common/otbRemoteSensingRegionNew.cxx @@ -18,7 +18,7 @@ #include "otbRemoteSensingRegion.h" -int otbRemoteSensingRegionNew(int argc, char * argv[]) +int otbRemoteSensingRegionNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double Type; diff --git a/Testing/Code/Common/otbShiftScaleImageAdaptor.cxx b/Testing/Code/Common/otbShiftScaleImageAdaptor.cxx index be8da19d228dfe071171ab6db050b6f4694fbafb..ac598412c814a9381268f528d1984974fa99bae7 100644 --- a/Testing/Code/Common/otbShiftScaleImageAdaptor.cxx +++ b/Testing/Code/Common/otbShiftScaleImageAdaptor.cxx @@ -23,7 +23,7 @@ #include "itkRescaleIntensityImageFilter.h" #include "otbShiftScaleImageAdaptor.h" -int otbShiftScaleImageAdaptor(int argc, char * argv[]) +int otbShiftScaleImageAdaptor(int itkNotUsed(argc), char * argv[]) { const char * inputFilename = argv[1]; const char * outputFilename = argv[2]; diff --git a/Testing/Code/Common/otbShiftScaleImageAdaptorNew.cxx b/Testing/Code/Common/otbShiftScaleImageAdaptorNew.cxx index 7d45291c08a0d92e78ceb59b8add1df25dc6d645..9747881fd5ce0238baf7109e603511bd3e770014 100644 --- a/Testing/Code/Common/otbShiftScaleImageAdaptorNew.cxx +++ b/Testing/Code/Common/otbShiftScaleImageAdaptorNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorImage.h" #include "otbShiftScaleImageAdaptor.h" -int otbShiftScaleImageAdaptorNew(int argc, char * argv[]) +int otbShiftScaleImageAdaptorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef otb::VectorImage<InputPixelType, 2> ImageType; diff --git a/Testing/Code/Common/otbSpatialObjectSourceNew.cxx b/Testing/Code/Common/otbSpatialObjectSourceNew.cxx index daf7ed35ad762a217a921e3a0a26fa3f543f5baa..cbccb03d76b751163e24368c709a6f0519bbc279 100644 --- a/Testing/Code/Common/otbSpatialObjectSourceNew.cxx +++ b/Testing/Code/Common/otbSpatialObjectSourceNew.cxx @@ -20,7 +20,7 @@ #include "otbSpatialObjectSource.h" #include "itkGroupSpatialObject.h" -int otbSpatialObjectSourceNew(int argc, char* argv[]) +int otbSpatialObjectSourceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef itk::GroupSpatialObject<Dimension> SpatialObjectType; diff --git a/Testing/Code/Common/otbStandardFilterWatcherNew.cxx b/Testing/Code/Common/otbStandardFilterWatcherNew.cxx index ae09ea57d5f2bfd30e66f6981e4bc9e6180235cb..735a09876271f619eb720ff00ecbeec333814317 100644 --- a/Testing/Code/Common/otbStandardFilterWatcherNew.cxx +++ b/Testing/Code/Common/otbStandardFilterWatcherNew.cxx @@ -22,7 +22,7 @@ #include "otbStandardFilterWatcher.h" #include "itkGradientMagnitudeImageFilter.h" -int otbStandardFilterWatcherNew(int argc, char * argv[]) +int otbStandardFilterWatcherNew(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbStandardOneLineFilterWatcherTest.cxx b/Testing/Code/Common/otbStandardOneLineFilterWatcherTest.cxx index d843d0722496e3e9db52d6856f4607a1fb04741f..6ae4cbf9fae1d2a1ec3519bc0c3c8c5533812f13 100644 --- a/Testing/Code/Common/otbStandardOneLineFilterWatcherTest.cxx +++ b/Testing/Code/Common/otbStandardOneLineFilterWatcherTest.cxx @@ -22,7 +22,7 @@ #include "otbStandardOneLineFilterWatcher.h" #include "itkGradientMagnitudeImageFilter.h" -int otbStandardOneLineFilterWatcherTest(int argc, char * argv[]) +int otbStandardOneLineFilterWatcherTest(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef unsigned char PixelType; diff --git a/Testing/Code/Common/otbStandardWriterWatcher.cxx b/Testing/Code/Common/otbStandardWriterWatcher.cxx index ec3eb041c9d710545854632d979cb75dcb6437f7..014d401c5bf278c5fe8736fb3e4b3fbd4a6f781e 100644 --- a/Testing/Code/Common/otbStandardWriterWatcher.cxx +++ b/Testing/Code/Common/otbStandardWriterWatcher.cxx @@ -24,7 +24,7 @@ #include "otbImageFileWriter.h" #include "otbImageFileWriter.h" -int otbStandardWriterWatcher(int argc, char * argv[]) +int otbStandardWriterWatcher(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/Common/otbStreamingManager.cxx b/Testing/Code/Common/otbStreamingManager.cxx index 81e72beee3a4645492520f4c0655aa822f33413e..dea696061707c5c166a755fd173221ddb9df5103 100644 --- a/Testing/Code/Common/otbStreamingManager.cxx +++ b/Testing/Code/Common/otbStreamingManager.cxx @@ -50,7 +50,7 @@ ImageType::Pointer makeImage(ImageType::RegionType region) return image; } -int otbStreamingManagerNew(int argc, char * argv[]) +int otbStreamingManagerNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { NbLinesStrippedStreamingManagerType::Pointer streamingManager1 = NbLinesStrippedStreamingManagerType::New(); std::cout << streamingManager1 << std::endl; @@ -71,7 +71,7 @@ int otbStreamingManagerNew(int argc, char * argv[]) } -int otbNumberOfLinesStrippedStreamingManager(int argc, char * argv[]) +int otbNumberOfLinesStrippedStreamingManager(int itkNotUsed(argc), char * argv[]) { std::ofstream outfile(argv[1]); @@ -103,7 +103,7 @@ int otbNumberOfLinesStrippedStreamingManager(int argc, char * argv[]) } -int otbRAMDrivenStrippedStreamingManager(int argc, char * argv[]) +int otbRAMDrivenStrippedStreamingManager(int itkNotUsed(argc), char * argv[]) { std::ofstream outfile(argv[1]); @@ -135,7 +135,7 @@ int otbRAMDrivenStrippedStreamingManager(int argc, char * argv[]) } -int otbTileDimensionTiledStreamingManager(int argc, char * argv[]) +int otbTileDimensionTiledStreamingManager(int itkNotUsed(argc), char * argv[]) { std::ofstream outfile(argv[1]); @@ -166,7 +166,7 @@ int otbTileDimensionTiledStreamingManager(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbRAMDrivenTiledStreamingManager(int argc, char * argv[]) +int otbRAMDrivenTiledStreamingManager(int itkNotUsed(argc), char * argv[]) { std::ofstream outfile(argv[1]); @@ -198,7 +198,7 @@ int otbRAMDrivenTiledStreamingManager(int argc, char * argv[]) } -int otbRAMDrivenAdaptativeStreamingManager(int argc, char * argv[]) +int otbRAMDrivenAdaptativeStreamingManager(int itkNotUsed(argc), char * argv[]) { std::ofstream outfile(argv[1]); diff --git a/Testing/Code/Common/otbSystemTest.cxx b/Testing/Code/Common/otbSystemTest.cxx index 9a0e4d4aa256e5fc01afa007b8825baf1685d633..584841d3c79af4af13a76f366daf2d766cd1fdba 100644 --- a/Testing/Code/Common/otbSystemTest.cxx +++ b/Testing/Code/Common/otbSystemTest.cxx @@ -23,7 +23,7 @@ #include "itksys/SystemTools.hxx" #include "otbSystem.h" -int otbSystemTest(int argc, char* argv[]) +int otbSystemTest(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * inputDirName = argv[2]; @@ -56,7 +56,7 @@ int otbSystemTest(int argc, char* argv[]) } -int otbParseHdfSubsetName(int argc, char* argv []) +int otbParseHdfSubsetName(int itkNotUsed(argc), char ** itkNotUsed(argv)) { std::string input(""); std::string key(""); @@ -74,7 +74,7 @@ int otbParseHdfSubsetName(int argc, char* argv []) return EXIT_SUCCESS; } -int otbParseHdfFileName(int argc, char* argv []) +int otbParseHdfFileName(int itkNotUsed(argc), char ** itkNotUsed(argv)) { std::string id(""); std::string file(""); diff --git a/Testing/Code/Common/otbTestMultiExtractMultiUpdate.cxx b/Testing/Code/Common/otbTestMultiExtractMultiUpdate.cxx index 7b28eb6cd9b7fadc9f2708ddb099f9fbe5dd4597..b3b3fec67728ebcb55e80566420a5a3d8846d9fd 100644 --- a/Testing/Code/Common/otbTestMultiExtractMultiUpdate.cxx +++ b/Testing/Code/Common/otbTestMultiExtractMultiUpdate.cxx @@ -24,7 +24,7 @@ #include "otbSystem.h" -int otbTestMultiExtractMultiUpdate(int argc, char * argv[]) +int otbTestMultiExtractMultiUpdate(int itkNotUsed(argc), char * argv[]) { const unsigned int Dimension = 2; typedef double InternPixelType; diff --git a/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilter.cxx b/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilter.cxx index 566c1054eab206ef5bd058324d1e9ea54169afce..d03d10f6fa3bcaafe3b86dfb6117f816a6691572 100644 --- a/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilter.cxx +++ b/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilter.cxx @@ -40,7 +40,7 @@ public: }; } -int otbUnaryFunctorNeighborhoodImageFilter(int argc, char * argv[]) +int otbUnaryFunctorNeighborhoodImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilterNew.cxx b/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilterNew.cxx index 40188449ed1823bb303ff8ac8be86e3dfb297541..c000e89a31ecfa029ff1eb8b7fccf36eab3e4678 100644 --- a/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilterNew.cxx +++ b/Testing/Code/Common/otbUnaryFunctorNeighborhoodImageFilterNew.cxx @@ -37,7 +37,7 @@ public: }; } -int otbUnaryFunctorNeighborhoodImageFilterNew(int argc, char * argv[]) +int otbUnaryFunctorNeighborhoodImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; const int Dimension = 2; diff --git a/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.cxx b/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.cxx index a86325f4fcc001c99df75e87ea8d90a4a9bfd29a..bff07bc368ab0c3d80975aae5f6cbe0c031398e0 100644 --- a/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.cxx +++ b/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.cxx @@ -63,7 +63,7 @@ private: }; } -int otbUnaryFunctorNeighborhoodWithOffsetImageFilter(int argc, char * argv[]) +int otbUnaryFunctorNeighborhoodWithOffsetImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx b/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx index 0bdae268319d94513d79b346ec966c9a5d621372..e4b4b3ce96c04507fc8fbca8a0cc4eb7bd1e4e45 100644 --- a/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx +++ b/Testing/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew.cxx @@ -63,7 +63,7 @@ private: }; } -int otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew(int argc, char * argv[]) +int otbUnaryFunctorNeighborhoodWithOffsetImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; const int Dimension = 2; diff --git a/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilter.cxx b/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilter.cxx index 3347377099efad71fb5c282cf1563fdb6340b1fd..71d3759e6c9019769c0106c8857df739726ae402 100644 --- a/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilter.cxx +++ b/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilter.cxx @@ -32,14 +32,14 @@ public: typedef itk::Index<2> IndexType; - inline TOutput operator ()(const TInput& inPix, IndexType index) + inline TOutput operator ()(const TInput& inPix, IndexType itkNotUsed(index)) { return (static_cast<TOutput>(inPix)); } }; } -int otbUnaryFunctorWithIndexImageFilter(int argc, char * argv[]) +int otbUnaryFunctorWithIndexImageFilter(int itkNotUsed(argc), char * argv[]) { const char * inputFileName = argv[1]; const char * outputFileName = argv[2]; diff --git a/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilterNew.cxx b/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilterNew.cxx index 4d5b5a84a461c9bac36d241cdf9d0c03ecb0deee..0ff9d1236bef788b5f13e698b032ba79b30142b7 100644 --- a/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilterNew.cxx +++ b/Testing/Code/Common/otbUnaryFunctorWithIndexImageFilterNew.cxx @@ -30,14 +30,14 @@ public: typedef itk::Index<2> IndexType; - inline TOutput operator ()(const TInput& inPix, IndexType index) + inline TOutput operator ()(const TInput& inPix, IndexType itkNotUsed(index)) { return (static_cast<TOutput>(inPix)); } }; } -int otbUnaryFunctorWithIndexImageFilterNew(int argc, char * argv[]) +int otbUnaryFunctorWithIndexImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef double InputPixelType; typedef otb::Image<InputPixelType, 2> ImageType; diff --git a/Testing/Code/Common/otbVariableLengthVectorConverter.cxx b/Testing/Code/Common/otbVariableLengthVectorConverter.cxx index 3bdba694ff498791be4a746eed75c4debd79d57b..5dbcce963e74a772ef6090d8c205afd73252a48f 100644 --- a/Testing/Code/Common/otbVariableLengthVectorConverter.cxx +++ b/Testing/Code/Common/otbVariableLengthVectorConverter.cxx @@ -21,7 +21,7 @@ #include "otbVariableLengthVectorConverter.h" -int otbVariableLengthVectorConverterNew(int argc, char * argv[]) +int otbVariableLengthVectorConverterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef itk::VariableLengthVector<double> InputType0; typedef std::vector< std::vector< double > > InputType1; diff --git a/Testing/Code/Common/otbVectorDataExtractROI.cxx b/Testing/Code/Common/otbVectorDataExtractROI.cxx index cc056ad0226bee971dc80a28ed31873c88968306..f0f7444374aab19d3a4acf03bf49cead6eed8aa3 100644 --- a/Testing/Code/Common/otbVectorDataExtractROI.cxx +++ b/Testing/Code/Common/otbVectorDataExtractROI.cxx @@ -22,7 +22,7 @@ #include "otbVectorDataFileReader.h" #include "otbVectorDataFileWriter.h" -int otbVectorDataExtractROI(int argc, char * argv[]) +int otbVectorDataExtractROI(int itkNotUsed(argc), char * argv[]) { const char * infname = argv[1]; const char * outfname = argv[2]; diff --git a/Testing/Code/Common/otbVectorDataExtractROINew.cxx b/Testing/Code/Common/otbVectorDataExtractROINew.cxx index 2410388f49b469a29441fa9a49fab669a7b70495..a494ac6d16f5bc9ad910736da78d7ee9cedf0416 100644 --- a/Testing/Code/Common/otbVectorDataExtractROINew.cxx +++ b/Testing/Code/Common/otbVectorDataExtractROINew.cxx @@ -18,7 +18,7 @@ #include "otbVectorData.h" #include "otbVectorDataExtractROI.h" -int otbVectorDataExtractROINew(int argc, char * argv[]) +int otbVectorDataExtractROINew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorData<> VectorDataType; typedef otb::VectorDataExtractROI<VectorDataType> FilterType; diff --git a/Testing/Code/Common/otbVectorDataNew.cxx b/Testing/Code/Common/otbVectorDataNew.cxx index 5136bf6db2c9b73930cb11a1bf3fd24da3293b8f..374aecf725109881f30928e6f881d7b552b792e5 100644 --- a/Testing/Code/Common/otbVectorDataNew.cxx +++ b/Testing/Code/Common/otbVectorDataNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorData.h" -int otbVectorDataNew(int argc, char * argv[]) +int otbVectorDataNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorData<double, 2> VectorDataType; diff --git a/Testing/Code/Common/otbVectorDataRasterizeFilter.cxx b/Testing/Code/Common/otbVectorDataRasterizeFilter.cxx index e3de4cb6aef1045a35c6116e31f2f294725125ea..24ba0cf38b46aaabd23ecc29a3616a7909c68206 100644 --- a/Testing/Code/Common/otbVectorDataRasterizeFilter.cxx +++ b/Testing/Code/Common/otbVectorDataRasterizeFilter.cxx @@ -39,13 +39,13 @@ typedef otb::RasterizeVectorDataFilter<VectorDataType, ImageType, ImageType> RasterizationFilterType; -int otbVectorDataRasterizeFilterNew(int argc, char* argv[]) +int otbVectorDataRasterizeFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { RasterizationFilterType::Pointer rasterization = RasterizationFilterType::New(); return EXIT_SUCCESS; } -int otbVectorDataRasterizeFilter(int argc, char* argv[]) +int otbVectorDataRasterizeFilter(int itkNotUsed(argc), char * argv[]) { ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/Common/otbVectorDataSourceNew.cxx b/Testing/Code/Common/otbVectorDataSourceNew.cxx index ad9b4f53d342a01b9b7836a8e5ca640e6467f559..4e73c5f74a396c98906c6ca1177fd1c53d95795a 100644 --- a/Testing/Code/Common/otbVectorDataSourceNew.cxx +++ b/Testing/Code/Common/otbVectorDataSourceNew.cxx @@ -20,7 +20,7 @@ #include "otbVectorDataSource.h" #include "otbVectorData.h" -int otbVectorDataSourceNew(int argc, char * argv[]) +int otbVectorDataSourceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double InputPixelType; diff --git a/Testing/Code/Common/otbVectorDataToGISTableFilter.cxx b/Testing/Code/Common/otbVectorDataToGISTableFilter.cxx index 8a4e36169a1b5ef359eb14297c4098999e0de024..509b53ce2a3fcf93ee706d0e7c23e0c0963e46d1 100644 --- a/Testing/Code/Common/otbVectorDataToGISTableFilter.cxx +++ b/Testing/Code/Common/otbVectorDataToGISTableFilter.cxx @@ -25,7 +25,7 @@ #include "otbPostGISConnectionImplementation.h" #include "otbPostGISTable.h" -int otbVectorDataToGISTableFilter(int argc, char * argv[]) +int otbVectorDataToGISTableFilter(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc != 5) { diff --git a/Testing/Code/Common/otbVectorDataToGISTableFilterNew.cxx b/Testing/Code/Common/otbVectorDataToGISTableFilterNew.cxx index 52eccd74e2277c77142d50f9d0658e39c5382ca1..4a7e1d0b579449514e5453c32cc774df2e2ddab7 100644 --- a/Testing/Code/Common/otbVectorDataToGISTableFilterNew.cxx +++ b/Testing/Code/Common/otbVectorDataToGISTableFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbGISTable.h" #include "otbVectorData.h" -int otbVectorDataToGISTableFilterNew(int argc, char * argv[]) +int otbVectorDataToGISTableFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef double PixelType; diff --git a/Testing/Code/Common/otbVectorDataToImageFilter.cxx b/Testing/Code/Common/otbVectorDataToImageFilter.cxx index 100a03eece5929661c071c31bdf194f69774b235..f75fd7ccc477f4427e45416c45f657684373f044 100644 --- a/Testing/Code/Common/otbVectorDataToImageFilter.cxx +++ b/Testing/Code/Common/otbVectorDataToImageFilter.cxx @@ -28,7 +28,7 @@ #include "otbImage.h" #include "otbVectorDataToImageFilter.h" -int otbVectorDataToImageFilter(int argc, char * argv[]) +int otbVectorDataToImageFilter(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc < 4) @@ -106,7 +106,7 @@ int otbVectorDataToImageFilter(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbVectorDataToImageFilterBinary(int argc, char * argv[]) +int otbVectorDataToImageFilterBinary(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc < 3) diff --git a/Testing/Code/Common/otbVectorDataToLabelImageFilter.cxx b/Testing/Code/Common/otbVectorDataToLabelImageFilter.cxx index 20d8090cfae44d4c1dc507acf0f752ed399b7bf6..5bead3b3b057b6c53f8f089f5464d1666c9b11d6 100644 --- a/Testing/Code/Common/otbVectorDataToLabelImageFilter.cxx +++ b/Testing/Code/Common/otbVectorDataToLabelImageFilter.cxx @@ -38,13 +38,13 @@ typedef otb::ImageFileWriter<ImageType> WriterType; typedef otb::VectorDataToLabelImageFilter<VectorDataType, ImageType> RasterizationFilterType; -int otbVectorDataToLabelImageFilterNew(int argc, char* argv[]) +int otbVectorDataToLabelImageFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { RasterizationFilterType::Pointer rasterization = RasterizationFilterType::New(); return EXIT_SUCCESS; } -int otbVectorDataToLabelImageFilter(int argc, char* argv[]) +int otbVectorDataToLabelImageFilter(int itkNotUsed(argc), char * argv[]) { ReaderType::Pointer reader = ReaderType::New(); diff --git a/Testing/Code/Common/otbVectorDataToMapFilter.cxx b/Testing/Code/Common/otbVectorDataToMapFilter.cxx index d912229f8ba7e416feed1cd39999776eaba5dde6..3d58cdbeb02ab7c2c186d9d2d13c130676fbb766 100644 --- a/Testing/Code/Common/otbVectorDataToMapFilter.cxx +++ b/Testing/Code/Common/otbVectorDataToMapFilter.cxx @@ -28,7 +28,7 @@ #include "otbImage.h" #include "otbVectorDataToMapFilter.h" -int otbVectorDataToMapFilter(int argc, char * argv[]) +int otbVectorDataToMapFilter(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc < 4) @@ -106,7 +106,7 @@ int otbVectorDataToMapFilter(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbVectorDataToMapFilterBinary(int argc, char * argv[]) +int otbVectorDataToMapFilterBinary(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc < 3) diff --git a/Testing/Code/Common/otbVectorDataToMapFilterNew.cxx b/Testing/Code/Common/otbVectorDataToMapFilterNew.cxx index 7cbb4c778b283268c32a15dc2081917245099bfa..6734361c12c66511534f3cdf2af6f62c344e5cbe 100644 --- a/Testing/Code/Common/otbVectorDataToMapFilterNew.cxx +++ b/Testing/Code/Common/otbVectorDataToMapFilterNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorData.h" #include "otbVectorDataToMapFilter.h" -int otbVectorDataToMapFilterNew(int argc, char * argv[]) +int otbVectorDataToMapFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorData<> VectorDataType; diff --git a/Testing/Code/Common/otbVectorDataToMapFilterNoFonts.cxx b/Testing/Code/Common/otbVectorDataToMapFilterNoFonts.cxx index 93a3445ab6cd375697e04a07c6b3ffd20a733fe3..23bae47c0f7395ae11059a2af2eef211e897ee94 100644 --- a/Testing/Code/Common/otbVectorDataToMapFilterNoFonts.cxx +++ b/Testing/Code/Common/otbVectorDataToMapFilterNoFonts.cxx @@ -28,7 +28,7 @@ #include "otbImage.h" #include "otbVectorDataToMapFilter.h" -int otbVectorDataToMapFilterNoFonts(int argc, char * argv[]) +int otbVectorDataToMapFilterNoFonts(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc < 3) diff --git a/Testing/Code/Common/otbVectorDataToMapFilterSensorModel.cxx b/Testing/Code/Common/otbVectorDataToMapFilterSensorModel.cxx index 327e95a558df1bbeaa9c1825b1bf666d2fdef20a..3044e2f256a9d6ece633a23daa78ef47fa9f8f55 100644 --- a/Testing/Code/Common/otbVectorDataToMapFilterSensorModel.cxx +++ b/Testing/Code/Common/otbVectorDataToMapFilterSensorModel.cxx @@ -29,7 +29,7 @@ #include "otbImageFileReader.h" #include "otbVectorDataToMapFilter.h" -int otbVectorDataToMapFilterSensorModel(int argc, char * argv[]) +int otbVectorDataToMapFilterSensorModel(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc < 5) diff --git a/Testing/Code/Common/otbVectorDataToMapFilterWorld.cxx b/Testing/Code/Common/otbVectorDataToMapFilterWorld.cxx index 0fb87b2c267959aa12bedebd3c9da648f8a0cc17..2c6db7053b55f74082dc0615606efda062d1e649 100644 --- a/Testing/Code/Common/otbVectorDataToMapFilterWorld.cxx +++ b/Testing/Code/Common/otbVectorDataToMapFilterWorld.cxx @@ -28,7 +28,7 @@ #include "otbImage.h" #include "otbVectorDataToMapFilter.h" -int otbVectorDataToMapFilterWorld(int argc, char * argv[]) +int otbVectorDataToMapFilterWorld(int itkNotUsed(argc), char ** itkNotUsed(argv)) { if (argc < 11) diff --git a/Testing/Code/Common/otbVectorDataToVectorDataFilterNew.cxx b/Testing/Code/Common/otbVectorDataToVectorDataFilterNew.cxx index a8d417ec79e9f01579e5df99006a1c13ceb23c2a..35c82a6f368e81826ba04fc3b5fcc3ac8590f07b 100644 --- a/Testing/Code/Common/otbVectorDataToVectorDataFilterNew.cxx +++ b/Testing/Code/Common/otbVectorDataToVectorDataFilterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorDataToVectorDataFilter.h" #include "otbVectorData.h" -int otbVectorDataToVectorDataFilterNew(int argc, char * argv[]) +int otbVectorDataToVectorDataFilterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorData<double> InputVectorDataType; diff --git a/Testing/Code/Common/otbVectorImageToASImageAdaptorNew.cxx b/Testing/Code/Common/otbVectorImageToASImageAdaptorNew.cxx index 3f631d37ca68d58f6fb758c3f5a105843ac3f79e..a4fbec3509de6d5f1ab60ad2fd8147d9a5375eea 100644 --- a/Testing/Code/Common/otbVectorImageToASImageAdaptorNew.cxx +++ b/Testing/Code/Common/otbVectorImageToASImageAdaptorNew.cxx @@ -21,7 +21,7 @@ #include "otbVectorImageToASImageAdaptor.h" #include "otbVectorImage.h" -int otbVectorImageToASImageAdaptorNew(int argc, char * argv[]) +int otbVectorImageToASImageAdaptorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorImage<double, 2> ImageType; typedef otb::VectorImageToASImageAdaptor<ImageType> FilterType; diff --git a/Testing/Code/IO/otbBSQImageIOTestCanRead.cxx b/Testing/Code/IO/otbBSQImageIOTestCanRead.cxx index 1e43dc232a5720c0fffaf0afdbd7022ec9eb5782..367781ae2d6ee2c1089330a7ea371fcfde042b96 100644 --- a/Testing/Code/IO/otbBSQImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbBSQImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbBSQImageIOTestCanRead(int argc, char* argv[]) +int otbBSQImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::BSQImageIO::Pointer lBSQImageIO = otb::BSQImageIO::New(); bool lCanRead = lBSQImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbBSQImageIOTestCanWrite.cxx b/Testing/Code/IO/otbBSQImageIOTestCanWrite.cxx index 67f44696e995035aff3e81abd623d8d40fb2ce5a..3e6f620e4598f06e82875b5fa3f5f44d1a190ca8 100644 --- a/Testing/Code/IO/otbBSQImageIOTestCanWrite.cxx +++ b/Testing/Code/IO/otbBSQImageIOTestCanWrite.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbBSQImageIOTestCanWrite(int argc, char* argv[]) +int otbBSQImageIOTestCanWrite(int itkNotUsed(argc), char* argv[]) { otb::BSQImageIO::Pointer lBSQImageIO = otb::BSQImageIO::New(); bool lCanRead = lBSQImageIO->CanWriteFile(argv[1]); diff --git a/Testing/Code/IO/otbComplexImageManipulationTest.cxx b/Testing/Code/IO/otbComplexImageManipulationTest.cxx index ce7556ece290ddae4d95b1969c3001029e904dc3..6e4ff41e73b5ccec64ec53e13a9f8bb52f11741c 100644 --- a/Testing/Code/IO/otbComplexImageManipulationTest.cxx +++ b/Testing/Code/IO/otbComplexImageManipulationTest.cxx @@ -117,7 +117,7 @@ ReadRegion(const char* filename, TImagePointerType& image, unsigned int w, unsig * out : real = in, imag = 0 ***********/ template<class InternalType> -int otbMonobandScalarToImageComplexGeneric(int argc, char * argv[]) +int otbMonobandScalarToImageComplexGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -172,7 +172,7 @@ int otbMonobandScalarToImageComplexShort(int argc, char * argv[]) * out : norm(in) ***********/ template<class InternalType> -int otbMonobandComplexToImageScalarGeneric(int argc, char * argv[]) +int otbMonobandComplexToImageScalarGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType InputType; typedef std::complex<InputType> ComplexType; @@ -232,7 +232,7 @@ int otbMonobandComplexToImageScalarShort(int argc, char * argv[]) * out : in ***********/ template<class InternalType> -int otbMonobandComplexToImageComplexGeneric(int argc, char * argv[]) +int otbMonobandComplexToImageComplexGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -286,7 +286,7 @@ int otbMonobandComplexToImageComplexShort(int argc, char * argv[]) * out : [0]=in.real(), [1]=in.imag() ***********/ template<class InternalType> -int otbMonobandComplexToVectorImageScalarGeneric(int argc, char * argv[]) +int otbMonobandComplexToVectorImageScalarGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -345,7 +345,7 @@ int otbMonobandComplexToVectorImageScalarShort(int argc, char * argv[]) * out : [0]=in ***********/ template<class InternalType> -int otbMonobandComplexToVectorImageComplexGeneric(int argc, char * argv[]) +int otbMonobandComplexToVectorImageComplexGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -403,7 +403,7 @@ int otbMonobandComplexToVectorImageComplexShort(int argc, char * argv[]) * out : out.real=in[0], out.imag=in[1] ***********/ template<class InternalType> -int otbMultibandScalarToImageComplexGeneric(int argc, char * argv[]) +int otbMultibandScalarToImageComplexGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -461,7 +461,7 @@ int otbMultibandScalarToImageComplexShort(int argc, char * argv[]) * out : (out[0].real=in[0], out[0].imag=0), (out[1].real=in[1], out[1].imag=0), ... ***********/ template<class InternalType> -int otbMultibandScalarToVectorImageComplexGeneric(int argc, char * argv[]) +int otbMultibandScalarToVectorImageComplexGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -521,7 +521,7 @@ int otbMultibandScalarToVectorImageComplexShort(int argc, char * argv[]) * out : out[0]=in[0].real, out[1]=in[0].imag, out[2]=in[0].real, out[3]=in[0].imag, ... ***********/ template<class InternalType> -int otbMultibandComplexToVectorImageScalarGeneric(int argc, char * argv[]) +int otbMultibandComplexToVectorImageScalarGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -585,7 +585,7 @@ int otbMultibandComplexToVectorImageScalarShort(int argc, char * argv[]) * out : out[0]=in[0], out[1]=in[1], ... ***********/ template<class InternalType> -int otbMultibandComplexToVectorImageComplexGeneric(int argc, char * argv[]) +int otbMultibandComplexToVectorImageComplexGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -649,7 +649,7 @@ int otbMultibandComplexToVectorImageComplexInt(int argc, char * argv[]) * out : out[0].real=in, out[0].imag=0 ***********/ template<class InternalType> -int otbMonobandScalarToVectorImageComplexGeneric(int argc, char * argv[]) +int otbMonobandScalarToVectorImageComplexGeneric(int itkNotUsed(argc), char * argv[]) { typedef InternalType RealType; typedef std::complex<RealType> ComplexType; @@ -707,7 +707,7 @@ int otbMonobandScalarToVectorImageComplexInt(int argc, char * argv[]) * out : ??? ***********/ template<class InternalType> -int otbMultibandComplexToImageScalarGeneric(int argc, char * argv[]) +int otbMultibandComplexToImageScalarGeneric(int itkNotUsed(argc), char ** itkNotUsed(argv)) { // This case is not handled yet. // We need more time to decide what we want to do with this case. ( perhaps return exception ???) @@ -736,4 +736,3 @@ int otbMultibandComplexToImageScalarInt(int argc, char * argv[]) { return otbMultibandComplexToImageScalarGeneric<int>(argc, argv); } - diff --git a/Testing/Code/IO/otbComplexImageTests.cxx b/Testing/Code/IO/otbComplexImageTests.cxx index 7c7e70b40ef23a351f54a383dbe41c63c292a52d..d765b464a6bb93ae3f60e0181f954ff7b1ae2a5a 100644 --- a/Testing/Code/IO/otbComplexImageTests.cxx +++ b/Testing/Code/IO/otbComplexImageTests.cxx @@ -27,7 +27,7 @@ #include "otbVectorImage.h" #include "otbImageFileReader.h" -int otbVectorImageComplexNew(int argc, char* argv[]) +int otbVectorImageComplexNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef std::complex<float> PixelType; typedef otb::VectorImage<PixelType, 2> ImageType; @@ -39,7 +39,7 @@ int otbVectorImageComplexNew(int argc, char* argv[]) template<class InternalType> -int otbVectorImageComplexGenericTest(int argc, char* argv[]) +int otbVectorImageComplexGenericTest(int itkNotUsed(argc), char* argv[]) { typedef std::complex<InternalType> PixelType; typedef otb::VectorImage<PixelType, 2> ImageType; @@ -80,7 +80,7 @@ int otbVectorImageComplexDoubleTest(int argc, char* argv[]) } template<class InternalType> -int otbImageComplexGenericTest(int argc, char* argv[]) +int otbImageComplexGenericTest(int itkNotUsed(argc), char* argv[]) { typedef std::complex<InternalType> PixelType; typedef otb::Image<PixelType, 2> ImageType; @@ -135,7 +135,7 @@ int otbImageComplexDoubleTest(int argc, char* argv[]) template<class InternalType> -int otbVectorImageComplexIntoRealGenericTest(int argc, char* argv[]) +int otbVectorImageComplexIntoRealGenericTest(int itkNotUsed(argc), char* argv[]) { typedef InternalType PixelType; typedef otb::VectorImage<PixelType, 2> ImageType; diff --git a/Testing/Code/IO/otbDEMToImageGeneratorNew.cxx b/Testing/Code/IO/otbDEMToImageGeneratorNew.cxx index 093f76d3035960d103a9b91fd0a9a4026165c01a..242d884ebf068f0f75413f8404e297ecc4e04f13 100644 --- a/Testing/Code/IO/otbDEMToImageGeneratorNew.cxx +++ b/Testing/Code/IO/otbDEMToImageGeneratorNew.cxx @@ -20,7 +20,7 @@ #include "otbDEMToImageGenerator.h" #include "otbImage.h" -int otbDEMToImageGeneratorNew(int argc, char * argv[]) +int otbDEMToImageGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { const unsigned int Dimension = 2; typedef otb::Image<unsigned char, Dimension> ImageType; diff --git a/Testing/Code/IO/otbDefaultImageMetadataInterface.cxx b/Testing/Code/IO/otbDefaultImageMetadataInterface.cxx index a289bfaad56de9ed2fc6f5a6a70ec1de97b92f86..2f7d3d32eca6c131dd9b619b97a1a4d153a984c1 100644 --- a/Testing/Code/IO/otbDefaultImageMetadataInterface.cxx +++ b/Testing/Code/IO/otbDefaultImageMetadataInterface.cxx @@ -21,7 +21,7 @@ #include "itkMacro.h" #include "otbDefaultImageMetadataInterface.h" -int otbDefaultImageMetadataInterface(int argc, char* argv[]) +int otbDefaultImageMetadataInterface(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef otb::DefaultImageMetadataInterface ObjectType; diff --git a/Testing/Code/IO/otbDefaultImageMetadataInterfaceFactoryNew.cxx b/Testing/Code/IO/otbDefaultImageMetadataInterfaceFactoryNew.cxx index 36e5b3a8e89f25dd2615fba3810ddff4be1014d2..4b6b400b88323f90ecac92ce8bcce9e890666410 100644 --- a/Testing/Code/IO/otbDefaultImageMetadataInterfaceFactoryNew.cxx +++ b/Testing/Code/IO/otbDefaultImageMetadataInterfaceFactoryNew.cxx @@ -22,7 +22,7 @@ #include "otbDefaultImageMetadataInterfaceFactory.h" -int otbDefaultImageMetadataInterfaceFactoryNew(int argc, char* argv[]) +int otbDefaultImageMetadataInterfaceFactoryNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::DefaultImageMetadataInterfaceFactory ObjectType; diff --git a/Testing/Code/IO/otbDoubleImageIOTest.cxx b/Testing/Code/IO/otbDoubleImageIOTest.cxx index bd1cebabcbec2ec3cae1766c71026796855c0bd5..59a414317a7baa35d11a1a87fc61dbe923aba100 100644 --- a/Testing/Code/IO/otbDoubleImageIOTest.cxx +++ b/Testing/Code/IO/otbDoubleImageIOTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbDoubleImageIOTest(int argc, char* argv[]) +int otbDoubleImageIOTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbExtendedFilenameToReaderOptionsTest.cxx b/Testing/Code/IO/otbExtendedFilenameToReaderOptionsTest.cxx index 1774f7b3273507932a2504bb1ddc4de72e2c8b44..18cd56afde55386cd0e937aafdc19f6fd67a4bb3 100644 --- a/Testing/Code/IO/otbExtendedFilenameToReaderOptionsTest.cxx +++ b/Testing/Code/IO/otbExtendedFilenameToReaderOptionsTest.cxx @@ -21,7 +21,7 @@ typedef otb::ExtendedFilenameToReaderOptions FilenameHelperType; -int otbExtendedFilenameToReaderOptions(int argc, char* argv[]) +int otbExtendedFilenameToReaderOptions(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputExtendedFilename = argv[1]; diff --git a/Testing/Code/IO/otbExtendedFilenameToWriterOptionsTest.cxx b/Testing/Code/IO/otbExtendedFilenameToWriterOptionsTest.cxx index 1b05dcfb9f6b71ea7750f4da39e2a034df111594..b949cfa7b862360558f2ea1cd1564a026d2d691e 100644 --- a/Testing/Code/IO/otbExtendedFilenameToWriterOptionsTest.cxx +++ b/Testing/Code/IO/otbExtendedFilenameToWriterOptionsTest.cxx @@ -21,7 +21,7 @@ typedef otb::ExtendedFilenameToWriterOptions FilenameHelperType; -int otbExtendedFilenameToWriterOptions(int argc, char* argv[]) +int otbExtendedFilenameToWriterOptions(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputExtendedFilename = argv[1]; diff --git a/Testing/Code/IO/otbFloatImageIOTest.cxx b/Testing/Code/IO/otbFloatImageIOTest.cxx index 6762636d2465410651ca3c98882560079404fbce..f83c185bfa2737cc4300cd6f03a497efd8fafbb4 100644 --- a/Testing/Code/IO/otbFloatImageIOTest.cxx +++ b/Testing/Code/IO/otbFloatImageIOTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbFloatImageIOTest(int argc, char* argv[]) +int otbFloatImageIOTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbFormosatImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbFormosatImageMetadataInterfaceNew.cxx index e99041d90f824176c6894ba31a5cbb98ebe82aad..051a5078bfc1494142bb2012ebdcb5fb0377fc40 100644 --- a/Testing/Code/IO/otbFormosatImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbFormosatImageMetadataInterfaceNew.cxx @@ -24,7 +24,7 @@ #include "otbFormosatImageMetadataInterface.h" -int otbFormosatImageMetadataInterfaceNew(int argc, char* argv[]) +int otbFormosatImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::FormosatImageMetadataInterface::Pointer object = otb::FormosatImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbGDALDriverDoubleWritingTest.cxx b/Testing/Code/IO/otbGDALDriverDoubleWritingTest.cxx index 89cd9446ba9bad3d280371742a684fd203875bb1..4dcb7fa1a0c64db730212385fd34cba85b70b24f 100644 --- a/Testing/Code/IO/otbGDALDriverDoubleWritingTest.cxx +++ b/Testing/Code/IO/otbGDALDriverDoubleWritingTest.cxx @@ -20,7 +20,7 @@ #include "otbImageFileWriter.h" #include "otbImageFileWriter.h" -int otbGDALDriverDoubleWritingTest(int argc, char * argv[]) +int otbGDALDriverDoubleWritingTest(int itkNotUsed(argc), char * argv[]) { const char * infname1 = argv[1]; const char * infname2 = argv[2]; diff --git a/Testing/Code/IO/otbGDALImageIOTestCanRead.cxx b/Testing/Code/IO/otbGDALImageIOTestCanRead.cxx index a95ab10cc29f58be410180e6a317315f1a51ab77..405d49bd9606e38b4290133a3840ea2b91636371 100644 --- a/Testing/Code/IO/otbGDALImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbGDALImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbGDALImageIOTestCanRead(int argc, char* argv[]) +int otbGDALImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::GDALImageIO::Pointer lGDALImageIO = otb::GDALImageIO::New(); bool lCanRead = lGDALImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbGDALImageIOTestCanWrite.cxx b/Testing/Code/IO/otbGDALImageIOTestCanWrite.cxx index 9dce7bd7d714fb176a349479fdf96739edf6fd39..c095ec24efe4dd9760eafbb49bc79fa72399a497 100644 --- a/Testing/Code/IO/otbGDALImageIOTestCanWrite.cxx +++ b/Testing/Code/IO/otbGDALImageIOTestCanWrite.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbGDALImageIOTestCanWrite(int argc, char* argv[]) +int otbGDALImageIOTestCanWrite(int itkNotUsed(argc), char* argv[]) { otb::GDALImageIO::Pointer lGDALImageIO = otb::GDALImageIO::New(); bool lCanWrite = lGDALImageIO->CanWriteFile(argv[1]); diff --git a/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx b/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx index 31cf96a1d4d850e9a9f6d00b7551c67850281646..53b8bb6d4ffb7a148c64cf8b1ede753a9cc4f156 100644 --- a/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx +++ b/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx @@ -23,6 +23,7 @@ #include "gdal_priv.h" #include "cpl_string.h" #include "ogr_spatialref.h" +#include "itkMacro.h" // Class to store ProjRef, GEOTransform and GCP info class DatasetInfoGDAL @@ -128,7 +129,7 @@ void testWriteMetadata(std::string filenameTIFF, std::ostream& os); /////// // MAIN -int otbGDALImageIOTestWriteMetadata(int argc, char * argv[]) +int otbGDALImageIOTestWriteMetadata(int itkNotUsed(argc), char * argv[]) { // Parameters std::string filenameTIFF = argv[1]; diff --git a/Testing/Code/IO/otbGDALOverviewsBuilder.cxx b/Testing/Code/IO/otbGDALOverviewsBuilder.cxx index e42f535c4d3b383f5113632f1a0b4c5aad71c5e0..2fc247ba81efe4057b408512fedc787f31d3a417 100644 --- a/Testing/Code/IO/otbGDALOverviewsBuilder.cxx +++ b/Testing/Code/IO/otbGDALOverviewsBuilder.cxx @@ -22,7 +22,7 @@ using namespace otb; -int otbGDALOverviewsBuilderNew(int argc, char* argv[]) +int otbGDALOverviewsBuilderNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef otb::GDALOverviewsBuilder GDALOverviewsBuilderType; GDALOverviewsBuilderType::Pointer object = GDALOverviewsBuilderType::New(); @@ -32,7 +32,7 @@ int otbGDALOverviewsBuilderNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbGDALOverviewsBuilder(int argc, char* argv[]) +int otbGDALOverviewsBuilder(int itkNotUsed(argc), char* argv[]) { const char * inputFilename = argv[1]; int nbResolution = atoi(argv[2]); diff --git a/Testing/Code/IO/otbIkonosImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbIkonosImageMetadataInterfaceNew.cxx index d20a7166fd4e89d25f0ad002ddb79cf3d8725538..4be3581a3635ec52fd513f36c7a899464f76ae84 100644 --- a/Testing/Code/IO/otbIkonosImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbIkonosImageMetadataInterfaceNew.cxx @@ -24,7 +24,7 @@ #include "otbIkonosImageMetadataInterface.h" -int otbIkonosImageMetadataInterfaceNew(int argc, char* argv[]) +int otbIkonosImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::IkonosImageMetadataInterface::Pointer object = otb::IkonosImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbImageFileReaderMSTAR.cxx b/Testing/Code/IO/otbImageFileReaderMSTAR.cxx index 8782ede2a644d0e2fae2c29ecce326a2798da98c..b0d7236aa1cde419b95a21b410cb01cb5e56c4ab 100644 --- a/Testing/Code/IO/otbImageFileReaderMSTAR.cxx +++ b/Testing/Code/IO/otbImageFileReaderMSTAR.cxx @@ -26,7 +26,7 @@ #include "itkRescaleIntensityImageFilter.h" -int otbImageFileReaderMSTAR(int argc, char* argv[]) +int otbImageFileReaderMSTAR(int itkNotUsed(argc), char* argv[]) { typedef float InputPixelType; typedef unsigned char OutputPixelType; diff --git a/Testing/Code/IO/otbImageFileReaderONERAComplex.cxx b/Testing/Code/IO/otbImageFileReaderONERAComplex.cxx index de0a4c995e8152bd70ffd2f85d09312dfc71f781..60254a630d4ea6df0cab99057e94ccbf77824c78 100644 --- a/Testing/Code/IO/otbImageFileReaderONERAComplex.cxx +++ b/Testing/Code/IO/otbImageFileReaderONERAComplex.cxx @@ -27,7 +27,7 @@ #include "otbImageFileWriter.h" #include "otbExtractROI.h" -int otbImageFileReaderONERAComplex(int argc, char* argv[]) +int otbImageFileReaderONERAComplex(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRADChar.cxx b/Testing/Code/IO/otbImageFileReaderRADChar.cxx index 3fc27dd8b51cd1b0cf70be402c45be7d723b7d54..3d33f11d171f095e0845ae45a7d4cfbf33a5ba9e 100644 --- a/Testing/Code/IO/otbImageFileReaderRADChar.cxx +++ b/Testing/Code/IO/otbImageFileReaderRADChar.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbExtractROI.h" -int otbImageFileReaderRADChar(int argc, char* argv[]) +int otbImageFileReaderRADChar(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRADComplexDouble.cxx b/Testing/Code/IO/otbImageFileReaderRADComplexDouble.cxx index af00c91d7cbb57b4ab32ea2a9f4ab3603626695f..50649c2922f1d8080def82cd45f3c3707454930e 100644 --- a/Testing/Code/IO/otbImageFileReaderRADComplexDouble.cxx +++ b/Testing/Code/IO/otbImageFileReaderRADComplexDouble.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbExtractROI.h" -int otbImageFileReaderRADComplexDouble(int argc, char* argv[]) +int otbImageFileReaderRADComplexDouble(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRADComplexFloat.cxx b/Testing/Code/IO/otbImageFileReaderRADComplexFloat.cxx index 8f0a1adf580610fd4320f7511b340edb35c9f13d..9131f1ad421894924d5a60596b339ce116d0361c 100644 --- a/Testing/Code/IO/otbImageFileReaderRADComplexFloat.cxx +++ b/Testing/Code/IO/otbImageFileReaderRADComplexFloat.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbExtractROI.h" -int otbImageFileReaderRADComplexFloat(int argc, char* argv[]) +int otbImageFileReaderRADComplexFloat(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRADComplexFloatExtract.cxx b/Testing/Code/IO/otbImageFileReaderRADComplexFloatExtract.cxx index a884e40d0c66e55c94f605f6c2e7a79591b9fb39..607f8cf0ed5586df1e21d2f176a7f3fcc963f14f 100644 --- a/Testing/Code/IO/otbImageFileReaderRADComplexFloatExtract.cxx +++ b/Testing/Code/IO/otbImageFileReaderRADComplexFloatExtract.cxx @@ -28,7 +28,7 @@ #include "otbComplexToVectorImageCastFilter.h" -int otbImageFileReaderRADComplexFloatExtract(int argc, char* argv[]) +int otbImageFileReaderRADComplexFloatExtract(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRADComplexInt.cxx b/Testing/Code/IO/otbImageFileReaderRADComplexInt.cxx index b43d6847a7e6085152820d49ce8a6ea80b1a8dd6..dc09731549f0fae85fa71bc710078d976d53c3dc 100644 --- a/Testing/Code/IO/otbImageFileReaderRADComplexInt.cxx +++ b/Testing/Code/IO/otbImageFileReaderRADComplexInt.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbExtractROI.h" -int otbImageFileReaderRADComplexInt(int argc, char* argv[]) +int otbImageFileReaderRADComplexInt(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRADFloat.cxx b/Testing/Code/IO/otbImageFileReaderRADFloat.cxx index 2d70cf8a1bd31d0e18d6954adbfb354a9b247c0b..416f6e7a0694bf88b6e0e1bc1904552fe157516b 100644 --- a/Testing/Code/IO/otbImageFileReaderRADFloat.cxx +++ b/Testing/Code/IO/otbImageFileReaderRADFloat.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileReaderRADFloat(int argc, char* argv[]) +int otbImageFileReaderRADFloat(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRADInt.cxx b/Testing/Code/IO/otbImageFileReaderRADInt.cxx index 9c65dcbe8d842a19b259cf9589a81910c9a76e12..244f999695940b754048b171204ca6f6591d7738 100644 --- a/Testing/Code/IO/otbImageFileReaderRADInt.cxx +++ b/Testing/Code/IO/otbImageFileReaderRADInt.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbExtractROI.h" -int otbImageFileReaderRADInt(int argc, char* argv[]) +int otbImageFileReaderRADInt(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderRGBTest.cxx b/Testing/Code/IO/otbImageFileReaderRGBTest.cxx index dcc0244273c90c8e42f99f74c0e95eed75e3870e..1a7bfe59addd803d393c21e664917e7aa57e7202 100644 --- a/Testing/Code/IO/otbImageFileReaderRGBTest.cxx +++ b/Testing/Code/IO/otbImageFileReaderRGBTest.cxx @@ -25,7 +25,7 @@ #include "itkMacro.h" #include <iostream> -int otbImageFileReaderRGBTest(int argc, char* argv[]) +int otbImageFileReaderRGBTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderServerName.cxx b/Testing/Code/IO/otbImageFileReaderServerName.cxx index 4ee3f004cd8d6e2e116fd112f93659f45ab55264..b775e3414ee3a128ec70aa3c70971a9ab0f6d772 100644 --- a/Testing/Code/IO/otbImageFileReaderServerName.cxx +++ b/Testing/Code/IO/otbImageFileReaderServerName.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbTileMapImageIO.h" -int otbImageFileReaderServerName(int argc, char* argv[]) +int otbImageFileReaderServerName(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderTest.cxx b/Testing/Code/IO/otbImageFileReaderTest.cxx index 69385a997e21852c6ea82eb1cb4576280dad8a5b..336a6d4cd10284bfbb7e094937d57bb420f49adf 100644 --- a/Testing/Code/IO/otbImageFileReaderTest.cxx +++ b/Testing/Code/IO/otbImageFileReaderTest.cxx @@ -22,7 +22,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileReaderTest(int argc, char* argv[]) +int otbImageFileReaderTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileReaderTestFloat.cxx b/Testing/Code/IO/otbImageFileReaderTestFloat.cxx index 4c839788e0d7026caac31310d69d3ac8d1cd6068..4d3418366082aeabe04f9e560c528d1511f72fc7 100644 --- a/Testing/Code/IO/otbImageFileReaderTestFloat.cxx +++ b/Testing/Code/IO/otbImageFileReaderTestFloat.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileReaderTestFloat(int argc, char* argv[]) +int otbImageFileReaderTestFloat(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileWriterONERAComplex.cxx b/Testing/Code/IO/otbImageFileWriterONERAComplex.cxx index 2c3b30d6ddf278a2fe0a4a32885f518e4d88a7bc..ebfc6541891298f6ecfad31ff7c87b5b6b922ede 100644 --- a/Testing/Code/IO/otbImageFileWriterONERAComplex.cxx +++ b/Testing/Code/IO/otbImageFileWriterONERAComplex.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbExtractROI.h" -int otbImageFileWriterONERAComplex(int argc, char* argv[]) +int otbImageFileWriterONERAComplex(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileWriterRGBTest.cxx b/Testing/Code/IO/otbImageFileWriterRGBTest.cxx index ba24af1ada142ba740b650c906a9cd94e9481507..f3c20551f89a8e1fb5020dfd4cdeff703ecc306c 100644 --- a/Testing/Code/IO/otbImageFileWriterRGBTest.cxx +++ b/Testing/Code/IO/otbImageFileWriterRGBTest.cxx @@ -26,7 +26,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileWriterRGBTest(int argc, char* argv[]) +int otbImageFileWriterRGBTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileWriterStreamingONERAComplex.cxx b/Testing/Code/IO/otbImageFileWriterStreamingONERAComplex.cxx index 219cf210c6e2e3aafe545d7cc099ef4a289c6a12..3dd211618ec3b226010bac04b7f5fdb1bb1af5c4 100644 --- a/Testing/Code/IO/otbImageFileWriterStreamingONERAComplex.cxx +++ b/Testing/Code/IO/otbImageFileWriterStreamingONERAComplex.cxx @@ -26,7 +26,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileWriterStreamingONERAComplex(int argc, char* argv[]) +int otbImageFileWriterStreamingONERAComplex(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileWriterTest.cxx b/Testing/Code/IO/otbImageFileWriterTest.cxx index 0ba534810c92c4abfd86b623e342fd1694417cb6..3fa5aa192229a493fb025f7eab34f0fefa651af0 100644 --- a/Testing/Code/IO/otbImageFileWriterTest.cxx +++ b/Testing/Code/IO/otbImageFileWriterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileWriterTest(int argc, char* argv[]) +int otbImageFileWriterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileWriterTestWithoutInput.cxx b/Testing/Code/IO/otbImageFileWriterTestWithoutInput.cxx index e1fbdbb0aed18784c6552ef7e7fd28232a45b15e..b60cd24a4f189a0e35599dd17c3c2cd03f156f9d 100644 --- a/Testing/Code/IO/otbImageFileWriterTestWithoutInput.cxx +++ b/Testing/Code/IO/otbImageFileWriterTestWithoutInput.cxx @@ -34,7 +34,7 @@ * Write Image<scalar> with an ImageFileWriter<scalar> ***********/ template<class InternalType> -int otbImageScalarFileWriterTestWithoutInputGeneric(int argc, char* argv[]) +int otbImageScalarFileWriterTestWithoutInputGeneric(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * outputFilename = argv[1]; @@ -113,7 +113,7 @@ int otbImageScalarFileWriterTestWithoutInputDouble(int argc, char * argv[]) * Write Image<scalar> with an ImageFileWriter<scalar> ***********/ template<class InternalType> -int otbImageComplexFileWriterTestWithoutInputGeneric(int argc, char* argv[]) +int otbImageComplexFileWriterTestWithoutInputGeneric(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * outputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx b/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx index 1ce827c7ed9af12582aff47d9727e3c359bfdb19..b43799e1c2b0bc9ad96e94c9d6ec920b262765cc 100644 --- a/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx +++ b/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "otbMultiChannelExtractROI.h" -int otbImageFileWriterWithExtendedOptionBox(int argc, char* argv[]) +int otbImageFileWriterWithExtendedOptionBox(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const std::string inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageIOFactoryNew.cxx b/Testing/Code/IO/otbImageIOFactoryNew.cxx index 0c6ef141a5ee04549d33510502c0a60096f5a4e4..d3fb5a69d055330e7b7e4cdb5c717a31f1f849cf 100644 --- a/Testing/Code/IO/otbImageIOFactoryNew.cxx +++ b/Testing/Code/IO/otbImageIOFactoryNew.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbImageIOFactoryNew(int argc, char* argv[]) +int otbImageIOFactoryNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::ImageIOFactory *lImageIOFactory; lImageIOFactory = NULL; diff --git a/Testing/Code/IO/otbImageMetadataFileWriterTest.cxx b/Testing/Code/IO/otbImageMetadataFileWriterTest.cxx index 421f3fbdea98ec407034be10df451df5e24459ef..880ed2a5aa60dc3f0f8de4c07a1abf31088b197d 100644 --- a/Testing/Code/IO/otbImageMetadataFileWriterTest.cxx +++ b/Testing/Code/IO/otbImageMetadataFileWriterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageMetadataFileWriterTest(int argc, char* argv[]) +int otbImageMetadataFileWriterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageMetadataInterfaceBaseTest.cxx b/Testing/Code/IO/otbImageMetadataInterfaceBaseTest.cxx index 743132f2d4966f51d3f92a0287757872fdc3c86e..7584a348a617b298b9a6fbe98c79340300515867 100644 --- a/Testing/Code/IO/otbImageMetadataInterfaceBaseTest.cxx +++ b/Testing/Code/IO/otbImageMetadataInterfaceBaseTest.cxx @@ -27,7 +27,7 @@ #include "otbImageMetadataInterfaceBase.h" #include "otbImageMetadataInterfaceFactory.h" -int otbImageMetadataInterfaceBaseTest(int argc, char* argv[]) +int otbImageMetadataInterfaceBaseTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageMetadataInterfaceTest2.cxx b/Testing/Code/IO/otbImageMetadataInterfaceTest2.cxx index 5d2a6d66fa3250918759b5940ab1c726a8b71f84..c6ef5bd52488ae8aa486eaeecb18513b3c9d0839 100644 --- a/Testing/Code/IO/otbImageMetadataInterfaceTest2.cxx +++ b/Testing/Code/IO/otbImageMetadataInterfaceTest2.cxx @@ -27,7 +27,7 @@ #include "otbImageMetadataInterfaceBase.h" #include "otbImageMetadataInterfaceFactory.h" -int otbImageMetadataInterfaceTest2(int argc, char* argv[]) +int otbImageMetadataInterfaceTest2(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageMetadataStreamingFileWriterTest.cxx b/Testing/Code/IO/otbImageMetadataStreamingFileWriterTest.cxx index 9c6594e58adbd0d31c0c6c786ef45a7664bffbc4..3491818403bafe22de7eda60cee8de09da478663 100644 --- a/Testing/Code/IO/otbImageMetadataStreamingFileWriterTest.cxx +++ b/Testing/Code/IO/otbImageMetadataStreamingFileWriterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageMetadataStreamingFileWriterTest(int argc, char* argv[]) +int otbImageMetadataStreamingFileWriterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageSeriesFileReader.cxx b/Testing/Code/IO/otbImageSeriesFileReader.cxx index 9d2c2c725305300f6b4e52b8a72017adced76107..376062784eb2912915f668db656d1781ee223147 100644 --- a/Testing/Code/IO/otbImageSeriesFileReader.cxx +++ b/Testing/Code/IO/otbImageSeriesFileReader.cxx @@ -25,7 +25,7 @@ #include "otbImageFileWriter.h" #include "itksys/SystemTools.hxx" -int otbImageSeriesFileReader(int argc, char* argv[]) +int otbImageSeriesFileReader(int itkNotUsed(argc), char* argv[]) { const char * enviMetaFile = argv[1]; const char * outputFile = argv[2]; diff --git a/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx b/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx index 7fe3e8801a59fb7dc95be0f72af886fcd1284786..8e169e98b1980aba40f74cacf358d21f5224f1b9 100644 --- a/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx +++ b/Testing/Code/IO/otbImageStreamingFileWriterTestWithoutInput.cxx @@ -35,7 +35,7 @@ * Write Image<scalar> with an ImageFileWriter<scalar> ***********/ template<class InternalType> -int otbImageScalarStreamingFileWriterTestWithoutInputGeneric(int argc, char* argv[]) +int otbImageScalarStreamingFileWriterTestWithoutInputGeneric(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * outputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageTest.cxx b/Testing/Code/IO/otbImageTest.cxx index eb7cfb5675e9900a0f590d1ea079a3c76578d750..05b2d46877a7d71c35544129d5d7d1e9cf2789a7 100644 --- a/Testing/Code/IO/otbImageTest.cxx +++ b/Testing/Code/IO/otbImageTest.cxx @@ -26,7 +26,7 @@ #include "otbImage.h" #include "otbImageFileReader.h" -int otbImageTest(int argc, char* argv[]) +int otbImageTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbImageToOSMVectorDataGenerator.cxx b/Testing/Code/IO/otbImageToOSMVectorDataGenerator.cxx index 23ead14d7796c29bd20170441f683c0af012221c..7050fa1c6d9c6e8191fe52949778651a98139e5a 100644 --- a/Testing/Code/IO/otbImageToOSMVectorDataGenerator.cxx +++ b/Testing/Code/IO/otbImageToOSMVectorDataGenerator.cxx @@ -35,7 +35,7 @@ typedef otb::ImageFileReader<ImageType> ReaderType; typedef otb::VectorDataFileWriter<VectorDataType> VectorDataFileWriterType; -int otbImageToOSMVectorDataGeneratorNew(int argc, char * argv[]) +int otbImageToOSMVectorDataGeneratorNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { FilterType::Pointer vdgenerator = FilterType::New(); diff --git a/Testing/Code/IO/otbIntImageIOTest.cxx b/Testing/Code/IO/otbIntImageIOTest.cxx index 0a3e58d4606b6514d51f1c4a8d471fb445cb89e5..933f00920621297e1a6e0176155bf202b0f98fb6 100644 --- a/Testing/Code/IO/otbIntImageIOTest.cxx +++ b/Testing/Code/IO/otbIntImageIOTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbIntImageIOTest(int argc, char* argv[]) +int otbIntImageIOTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbJPEG2000ImageIOTestCanRead.cxx b/Testing/Code/IO/otbJPEG2000ImageIOTestCanRead.cxx index a6cb70370958a4dcc6e410f49732534c38385322..099407b17cb2f91405e39bd23f926ee62f639db6 100644 --- a/Testing/Code/IO/otbJPEG2000ImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbJPEG2000ImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbJPEG2000ImageIOTestCanRead(int argc, char* argv[]) +int otbJPEG2000ImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::JPEG2000ImageIO::Pointer lJPEG2000ImageIO = otb::JPEG2000ImageIO::New(); bool lCanRead = lJPEG2000ImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbJPEG2000ImageIOTestCanWrite.cxx b/Testing/Code/IO/otbJPEG2000ImageIOTestCanWrite.cxx index 7034e2e20a2a968600b0f6b1c20f433c239ca60d..35f51e8bf18c49cb7260c8d5d3f2982d04060f18 100644 --- a/Testing/Code/IO/otbJPEG2000ImageIOTestCanWrite.cxx +++ b/Testing/Code/IO/otbJPEG2000ImageIOTestCanWrite.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbJPEG2000ImageIOTestCanWrite(int argc, char* argv[]) +int otbJPEG2000ImageIOTestCanWrite(int itkNotUsed(argc), char* argv[]) { otb::JPEG2000ImageIO::Pointer lJPEG2000ImageIO = otb::JPEG2000ImageIO::New(); bool lCanWrite = lJPEG2000ImageIO->CanWriteFile(argv[1]); diff --git a/Testing/Code/IO/otbKMLVectorDataIONew.cxx b/Testing/Code/IO/otbKMLVectorDataIONew.cxx index 3c8ce7a51ed2cd8694972762d98b875237d0c0b5..f15f57ea3054ba8e8f0565ade5947a877743ca72 100644 --- a/Testing/Code/IO/otbKMLVectorDataIONew.cxx +++ b/Testing/Code/IO/otbKMLVectorDataIONew.cxx @@ -18,7 +18,7 @@ #include "otbKMLVectorDataIO.h" -int otbKMLVectorDataIONew(int argc, char * argv[]) +int otbKMLVectorDataIONew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::KMLVectorDataIO KMLVectorDataIOType; KMLVectorDataIOType::Pointer object = KMLVectorDataIOType::New(); diff --git a/Testing/Code/IO/otbKMLVectorDataIOTestCanRead.cxx b/Testing/Code/IO/otbKMLVectorDataIOTestCanRead.cxx index 3d15aa1502ae19f0e806a2d319a5344b66714047..a87df4c9c5c2efa56e36486ab86a07053bac802c 100644 --- a/Testing/Code/IO/otbKMLVectorDataIOTestCanRead.cxx +++ b/Testing/Code/IO/otbKMLVectorDataIOTestCanRead.cxx @@ -19,7 +19,7 @@ #include "otbKMLVectorDataIO.h" #include <iostream> -int otbKMLVectorDataIOTestCanRead(int argc, char* argv[]) +int otbKMLVectorDataIOTestCanRead(int itkNotUsed(argc), char* argv[]) { typedef otb::KMLVectorDataIO KMLVectorDataIOType; KMLVectorDataIOType::Pointer object = KMLVectorDataIOType::New(); diff --git a/Testing/Code/IO/otbKMLVectorDataIOTestCanWrite.cxx b/Testing/Code/IO/otbKMLVectorDataIOTestCanWrite.cxx index d474a5bce4c0d5b23a4c77a95031329d1793b34d..861ae696e4ca76ae30715cc3c71c8dd203893467 100644 --- a/Testing/Code/IO/otbKMLVectorDataIOTestCanWrite.cxx +++ b/Testing/Code/IO/otbKMLVectorDataIOTestCanWrite.cxx @@ -19,7 +19,7 @@ #include "otbKMLVectorDataIO.h" #include <iostream> -int otbKMLVectorDataIOTestCanWrite(int argc, char* argv[]) +int otbKMLVectorDataIOTestCanWrite(int itkNotUsed(argc), char* argv[]) { typedef otb::KMLVectorDataIO KMLVectorDataIOType; KMLVectorDataIOType::Pointer object = KMLVectorDataIOType::New(); diff --git a/Testing/Code/IO/otbKmzProductWriter.cxx b/Testing/Code/IO/otbKmzProductWriter.cxx index 826c5523258f097284e58c81b6acd619fb43d0aa..9f8bb20e285a5fe99109dd61ac8df943fe74a97d 100644 --- a/Testing/Code/IO/otbKmzProductWriter.cxx +++ b/Testing/Code/IO/otbKmzProductWriter.cxx @@ -31,7 +31,7 @@ typedef GCPsToSensorModelFilterType::Point2DType Point2DType; typedef GCPsToSensorModelFilterType::Point3DType Point3DType; -int otbKmzProductWriterNew(int argc, char* argv[]) +int otbKmzProductWriterNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { KmzProductWriterType::Pointer kmzWriter = KmzProductWriterType::New(); return EXIT_SUCCESS; diff --git a/Testing/Code/IO/otbLUMImageIOTestCanRead.cxx b/Testing/Code/IO/otbLUMImageIOTestCanRead.cxx index 7c0848fd7c273e1e770bb508a95450daa012d614..6d6eb41c76757bbc6243c0bf1225657566e486cd 100644 --- a/Testing/Code/IO/otbLUMImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbLUMImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbLUMImageIOTestCanRead(int argc, char* argv[]) +int otbLUMImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::LUMImageIO::Pointer lLUMImageIO = otb::LUMImageIO::New(); bool lCanRead = lLUMImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbLUMImageIOTestCanWrite.cxx b/Testing/Code/IO/otbLUMImageIOTestCanWrite.cxx index 4bf10d061fb732a4bf5c0d88ac5390e0a26f379c..9f9c62ed1e97e6e4a8b2e0e62c7acb65c5b32eba 100644 --- a/Testing/Code/IO/otbLUMImageIOTestCanWrite.cxx +++ b/Testing/Code/IO/otbLUMImageIOTestCanWrite.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbLUMImageIOTestCanWrite(int argc, char* argv[]) +int otbLUMImageIOTestCanWrite(int itkNotUsed(argc), char* argv[]) { otb::LUMImageIO::Pointer lLUMImageIO = otb::LUMImageIO::New(); bool lCanRead = lLUMImageIO->CanWriteFile(argv[1]); diff --git a/Testing/Code/IO/otbMSTARImageIOTestCanRead.cxx b/Testing/Code/IO/otbMSTARImageIOTestCanRead.cxx index 5189cb9b8a7d104bbe1620eddf62bd9f23f14f44..81a4d9177c567d60096fc75709fe8d5de944d5db 100644 --- a/Testing/Code/IO/otbMSTARImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbMSTARImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbMSTARImageIOTestCanRead(int argc, char* argv[]) +int otbMSTARImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::MSTARImageIO::Pointer lMSTARImageIO = otb::MSTARImageIO::New(); bool lCanRead = lMSTARImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbMWImageIOTestCanRead.cxx b/Testing/Code/IO/otbMWImageIOTestCanRead.cxx index 7f7933fb238b7e7798fc343e5c5939e185c18c75..40327bd886bf42fbba154397c6450c776d121a52 100644 --- a/Testing/Code/IO/otbMWImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbMWImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbMWImageIOTestCanRead(int argc, char* argv[]) +int otbMWImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::MWImageIO::Pointer lMWImageIO = otb::MWImageIO::New(); bool lCanRead = lMWImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbMWImageIOTestCanWrite.cxx b/Testing/Code/IO/otbMWImageIOTestCanWrite.cxx index e76f3847a34a711e4b258fd8600232630c477f79..1a3b87b1f18fb14b4caad2fa4efbbf436683d718 100644 --- a/Testing/Code/IO/otbMWImageIOTestCanWrite.cxx +++ b/Testing/Code/IO/otbMWImageIOTestCanWrite.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbMWImageIOTestCanWrite(int argc, char* argv[]) +int otbMWImageIOTestCanWrite(int itkNotUsed(argc), char* argv[]) { otb::MWImageIO::Pointer lMWImageIO = otb::MWImageIO::New(); bool lCanRead = lMWImageIO->CanWriteFile(argv[1]); diff --git a/Testing/Code/IO/otbMapFileProductWriter.cxx b/Testing/Code/IO/otbMapFileProductWriter.cxx index 78467ac3c7319bbbdba71e2c00a0450e45d56fec..b9924db6451e7b19da1ce720997283f4cfc978e5 100644 --- a/Testing/Code/IO/otbMapFileProductWriter.cxx +++ b/Testing/Code/IO/otbMapFileProductWriter.cxx @@ -21,7 +21,7 @@ #include "otbVectorImage.h" #include "otbImageFileReader.h" -int otbMapFileProductWriter(int argc, char* argv[]) +int otbMapFileProductWriter(int itkNotUsed(argc), char* argv[]) { const char * infname = argv[1]; const char * path = argv[2]; @@ -52,4 +52,3 @@ int otbMapFileProductWriter(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/IO/otbMapFileProductWriterNew.cxx b/Testing/Code/IO/otbMapFileProductWriterNew.cxx index ddad16c08203f8a4e6062089f97bf47a7550adb0..b4795af89c4565681d514587887494f3d03fa332 100644 --- a/Testing/Code/IO/otbMapFileProductWriterNew.cxx +++ b/Testing/Code/IO/otbMapFileProductWriterNew.cxx @@ -19,7 +19,7 @@ #include "otbMapFileProductWriter.h" #include "otbVectorImage.h" -int otbMapFileProductWriterNew(int argc, char* argv[]) +int otbMapFileProductWriterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorImage<double> ImageType; diff --git a/Testing/Code/IO/otbMapProjectionAdapterTest.cxx b/Testing/Code/IO/otbMapProjectionAdapterTest.cxx index 4c0b7153100f3733b046c70385276fe52a187b8c..88b91292bad6a94fae877541bb4c5b4f7782b03e 100644 --- a/Testing/Code/IO/otbMapProjectionAdapterTest.cxx +++ b/Testing/Code/IO/otbMapProjectionAdapterTest.cxx @@ -21,7 +21,7 @@ #include "otbMapProjectionAdapter.h" -int otbMapProjectionAdapterTest(int argc, char* argv[]) +int otbMapProjectionAdapterTest(int itkNotUsed(argc), char* argv[]) { const char * outFileName = argv[1]; std::ofstream file; diff --git a/Testing/Code/IO/otbOGRVectorDataIOCanWrite.cxx b/Testing/Code/IO/otbOGRVectorDataIOCanWrite.cxx index 228fc4e68a4c38e0b2c48f3d0f039a192afd6a03..823d927b20f433fcc1d368788046225875d78b77 100644 --- a/Testing/Code/IO/otbOGRVectorDataIOCanWrite.cxx +++ b/Testing/Code/IO/otbOGRVectorDataIOCanWrite.cxx @@ -19,7 +19,7 @@ #include "otbOGRVectorDataIO.h" #include <iostream> -int otbOGRVectorDataIOCanWrite(int argc, char* argv[]) +int otbOGRVectorDataIOCanWrite(int itkNotUsed(argc), char* argv[]) { typedef otb::OGRVectorDataIO OGRVectorDataIOType; OGRVectorDataIOType::Pointer object = OGRVectorDataIOType::New(); diff --git a/Testing/Code/IO/otbOGRVectorDataIONew.cxx b/Testing/Code/IO/otbOGRVectorDataIONew.cxx index feee962e6ba5affc01c12fb19c0273a8a75c1ed1..874f16d3eee418f5ad69f2aae4cc6ece343bc50c 100644 --- a/Testing/Code/IO/otbOGRVectorDataIONew.cxx +++ b/Testing/Code/IO/otbOGRVectorDataIONew.cxx @@ -19,7 +19,7 @@ #include "otbOGRVectorDataIO.h" #include "otbVectorData.h" -int otbOGRVectorDataIONew(int argc, char * argv[]) +int otbOGRVectorDataIONew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::OGRVectorDataIO OGRVectorDataIOType; OGRVectorDataIOType::Pointer object = OGRVectorDataIOType::New(); diff --git a/Testing/Code/IO/otbONERAImageIOTestCanRead.cxx b/Testing/Code/IO/otbONERAImageIOTestCanRead.cxx index 36e0bdb281c3ae1107737af70519894f14e7befd..f6bf567ab97b46cd53b2377160d2f0a41cc07e84 100644 --- a/Testing/Code/IO/otbONERAImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbONERAImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbONERAImageIOTestCanRead(int argc, char* argv[]) +int otbONERAImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::ONERAImageIO::Pointer lONERAImageIO = otb::ONERAImageIO::New(); bool lCanRead = lONERAImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbOSMDataToVectorDataTests.cxx b/Testing/Code/IO/otbOSMDataToVectorDataTests.cxx index 2f876db7b3040d2085845c54f0b5099379efd393..27c099865ccb1f86cf02084b21f3df2b81e08092 100644 --- a/Testing/Code/IO/otbOSMDataToVectorDataTests.cxx +++ b/Testing/Code/IO/otbOSMDataToVectorDataTests.cxx @@ -24,14 +24,14 @@ typedef otb::OSMDataToVectorDataGenerator FilterType; typedef otb::VectorDataFileWriter<FilterType::VectorDataType> VectorDataFileWriterType; -int otbOSMToVectorDataGeneratorNew (int argc, char * argv[]) +int otbOSMToVectorDataGeneratorNew (int itkNotUsed(argc), char ** itkNotUsed(argv)) { FilterType::Pointer filter = FilterType::New(); return EXIT_SUCCESS; } -int otbOSMToVectorDataGeneratorTest (int argc, char * argv[]) +int otbOSMToVectorDataGeneratorTest (int itkNotUsed(argc), char * argv[]) { FilterType::Pointer filter = FilterType::New(); filter->SetFileName(argv[1]); diff --git a/Testing/Code/IO/otbOpticalDefaultImageMetadataInterface.cxx b/Testing/Code/IO/otbOpticalDefaultImageMetadataInterface.cxx index c1c6e516a524c6ba6261a9420ae4a36a47f25906..2ec276972b40aa02119b93fdd0a6d50fe09ec6f2 100644 --- a/Testing/Code/IO/otbOpticalDefaultImageMetadataInterface.cxx +++ b/Testing/Code/IO/otbOpticalDefaultImageMetadataInterface.cxx @@ -21,7 +21,7 @@ #include "itkMacro.h" #include "otbOpticalDefaultImageMetadataInterface.h" -int otbOpticalDefaultImageMetadataInterface(int argc, char* argv[]) +int otbOpticalDefaultImageMetadataInterface(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef otb::OpticalDefaultImageMetadataInterface ObjectType; diff --git a/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx b/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx index 819e838006e5514fbc0ce0ac31c9aeae015cfd63..d5a4a95a0370c412d37488ac940431ea8740aef3 100644 --- a/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx +++ b/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceFactoryNew.cxx @@ -22,7 +22,7 @@ #include "otbOpticalDefaultImageMetadataInterfaceFactory.h" -int otbOpticalDefaultImageMetadataInterfaceFactoryNew(int argc, char* argv[]) +int otbOpticalDefaultImageMetadataInterfaceFactoryNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::OpticalDefaultImageMetadataInterfaceFactory ObjectType; diff --git a/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceNew.cxx index ed2375a05d257c23a9bf7cb43500fd414c67ee7f..15afda1b481a24b8ac9bc918543eac66c0feeac0 100644 --- a/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbOpticalDefaultImageMetadataInterfaceNew.cxx @@ -22,7 +22,7 @@ #include "otbOpticalDefaultImageMetadataInterface.h" -int otbOpticalDefaultImageMetadataInterfaceNew(int argc, char* argv[]) +int otbOpticalDefaultImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::OpticalDefaultImageMetadataInterface ObjectType; diff --git a/Testing/Code/IO/otbOpticalImageMetadataInterfaceTest.cxx b/Testing/Code/IO/otbOpticalImageMetadataInterfaceTest.cxx index 45f5146d8f2b6dd46a2fb182c0c1d98e9d4dbf6a..82db1ce551ab5d67b3751c8f9c5f3795ec63fa37 100644 --- a/Testing/Code/IO/otbOpticalImageMetadataInterfaceTest.cxx +++ b/Testing/Code/IO/otbOpticalImageMetadataInterfaceTest.cxx @@ -27,7 +27,7 @@ #include "otbOpticalImageMetadataInterface.h" #include "otbOpticalImageMetadataInterfaceFactory.h" -int otbOpticalImageMetadataInterfaceTest(int argc, char* argv[]) +int otbOpticalImageMetadataInterfaceTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbPNGIndexedNbBandsTest.cxx b/Testing/Code/IO/otbPNGIndexedNbBandsTest.cxx index 707b3d91b7f95229a6784c96965baaa35578a044..3be825bd65c4d4a4257a39266378a085afcf8a52 100644 --- a/Testing/Code/IO/otbPNGIndexedNbBandsTest.cxx +++ b/Testing/Code/IO/otbPNGIndexedNbBandsTest.cxx @@ -24,7 +24,7 @@ #include "itkMacro.h" #include <iostream> -int otbPNGIndexedNbBandsTest(int argc, char* argv[]) +int otbPNGIndexedNbBandsTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbPipeline.cxx b/Testing/Code/IO/otbPipeline.cxx index ed6867087d18998749e302160601d2205d4c2d36..f1413588837ad2c4c84955739caecaa7ea3c4c05 100644 --- a/Testing/Code/IO/otbPipeline.cxx +++ b/Testing/Code/IO/otbPipeline.cxx @@ -20,7 +20,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbPipeline(int argc, char * argv[]) +int otbPipeline(int itkNotUsed(argc), char * argv[]) { typedef otb::Image<unsigned char, 2> ImageType; typedef otb::ImageFileReader<ImageType> ReaderType; diff --git a/Testing/Code/IO/otbPipelineMetadataHandlingTest.cxx b/Testing/Code/IO/otbPipelineMetadataHandlingTest.cxx index 2f10ee95a8f2b8afb7213ff3062f0015854b3242..e48aae5b63cbaad691df3ba23976827a02d048e8 100644 --- a/Testing/Code/IO/otbPipelineMetadataHandlingTest.cxx +++ b/Testing/Code/IO/otbPipelineMetadataHandlingTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbPipelineMetadataHandlingTest(int argc, char* argv[]) +int otbPipelineMetadataHandlingTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbPipelineMetadataHandlingWithUFFilterTest.cxx b/Testing/Code/IO/otbPipelineMetadataHandlingWithUFFilterTest.cxx index f2c1959ac5ce76dc0b26d85708f5b47312140819..d194750e7331b657ff4c58a9097d224a84d9ff78 100644 --- a/Testing/Code/IO/otbPipelineMetadataHandlingWithUFFilterTest.cxx +++ b/Testing/Code/IO/otbPipelineMetadataHandlingWithUFFilterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbPipelineMetadataHandlingWithUFFilterTest(int argc, char* argv[]) +int otbPipelineMetadataHandlingWithUFFilterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbPleiadesImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbPleiadesImageMetadataInterfaceNew.cxx index dd966682f16c6fea1ccbb1f41bed5471b83134e9..e9988fd3426624c2db3fa204ca3863c9a8a2232f 100644 --- a/Testing/Code/IO/otbPleiadesImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbPleiadesImageMetadataInterfaceNew.cxx @@ -24,7 +24,7 @@ #include "otbPleiadesImageMetadataInterface.h" -int otbPleiadesImageMetadataInterfaceNew(int argc, char* argv[]) +int otbPleiadesImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::PleiadesImageMetadataInterface::Pointer object = otb::PleiadesImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbQuickBirdImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbQuickBirdImageMetadataInterfaceNew.cxx index 4d58d8632fc32f84e0815874e1b66bf68d926bc9..8f64b241b66cfc0ae8a5a5a892a8bcfc7ac6c251 100644 --- a/Testing/Code/IO/otbQuickBirdImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbQuickBirdImageMetadataInterfaceNew.cxx @@ -24,7 +24,7 @@ #include "otbQuickBirdImageMetadataInterface.h" -int otbQuickBirdImageMetadataInterfaceNew(int argc, char* argv[]) +int otbQuickBirdImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::QuickBirdImageMetadataInterface::Pointer object = otb::QuickBirdImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbRADImageIOTestCanRead.cxx b/Testing/Code/IO/otbRADImageIOTestCanRead.cxx index e25d901c49b793f52dfca2b428c1df6e20f6520b..5f1324d51078bf6baecf4c63bb12b1bde14bba91 100644 --- a/Testing/Code/IO/otbRADImageIOTestCanRead.cxx +++ b/Testing/Code/IO/otbRADImageIOTestCanRead.cxx @@ -22,7 +22,7 @@ #include "itkMacro.h" #include <iostream> -int otbRADImageIOTestCanRead(int argc, char* argv[]) +int otbRADImageIOTestCanRead(int itkNotUsed(argc), char* argv[]) { otb::RADImageIO::Pointer lRADImageIO = otb::RADImageIO::New(); bool lCanRead = lRADImageIO->CanReadFile(argv[1]); diff --git a/Testing/Code/IO/otbReadingComplexDataIntoComplexImageTest.cxx b/Testing/Code/IO/otbReadingComplexDataIntoComplexImageTest.cxx index 851982bd1be69242e6fd8fef6eb51777ce69ecbd..f2f2e96b53a2909118c1291a0e5734af3fc6dadb 100644 --- a/Testing/Code/IO/otbReadingComplexDataIntoComplexImageTest.cxx +++ b/Testing/Code/IO/otbReadingComplexDataIntoComplexImageTest.cxx @@ -22,7 +22,7 @@ #include "otbVectorImage.h" #include "otbMacro.h" -int otbReadingComplexDataIntoComplexImageTest(int argc, char * argv[]) +int otbReadingComplexDataIntoComplexImageTest(int itkNotUsed(argc), char * argv[]) { typedef double RealType; typedef std::complex<RealType> PixelType; diff --git a/Testing/Code/IO/otbSarDefaultImageMetadataInterface.cxx b/Testing/Code/IO/otbSarDefaultImageMetadataInterface.cxx index d162486530ccc43ea2110cc6c570ae71e1a0dc5a..687750bf39ba45b271f48251bfa4cd4dc835314b 100644 --- a/Testing/Code/IO/otbSarDefaultImageMetadataInterface.cxx +++ b/Testing/Code/IO/otbSarDefaultImageMetadataInterface.cxx @@ -21,7 +21,7 @@ #include "itkMacro.h" #include "otbSarDefaultImageMetadataInterface.h" -int otbSarDefaultImageMetadataInterface(int argc, char* argv[]) +int otbSarDefaultImageMetadataInterface(int itkNotUsed(argc), char** itkNotUsed(argv)) { typedef otb::SarDefaultImageMetadataInterface ObjectType; diff --git a/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx b/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx index b746cd6562f04628c72be43f6c4866b3c12c1e26..a4de51c52b5fc2199ec16c5703bc6e1dcd580ed6 100644 --- a/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx +++ b/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceFactoryNew.cxx @@ -22,7 +22,7 @@ #include "otbSarDefaultImageMetadataInterfaceFactory.h" -int otbSarDefaultImageMetadataInterfaceFactoryNew(int argc, char* argv[]) +int otbSarDefaultImageMetadataInterfaceFactoryNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::SarDefaultImageMetadataInterfaceFactory ObjectType; diff --git a/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceNew.cxx index 7f46e87e7cff4d52d3fdad18409b2724e8620627..5a3149805477d90ee9fc000c230cde7d600859c2 100644 --- a/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbSarDefaultImageMetadataInterfaceNew.cxx @@ -22,7 +22,7 @@ #include "otbSarDefaultImageMetadataInterface.h" -int otbSarDefaultImageMetadataInterfaceNew(int argc, char* argv[]) +int otbSarDefaultImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::SarDefaultImageMetadataInterface ObjectType; diff --git a/Testing/Code/IO/otbSarImageMetadataInterfaceTest.cxx b/Testing/Code/IO/otbSarImageMetadataInterfaceTest.cxx index 71c34aa5b661f19103e7e4622799eba062514322..f60a650505c2409d345def8cf63494ce2e54b1b0 100644 --- a/Testing/Code/IO/otbSarImageMetadataInterfaceTest.cxx +++ b/Testing/Code/IO/otbSarImageMetadataInterfaceTest.cxx @@ -44,7 +44,7 @@ void printPointSet(otb::SarImageMetadataInterface::PointSetPointer pointSet, std } } -int otbSarImageMetadataInterfaceTest(int argc, char* argv[]) +int otbSarImageMetadataInterfaceTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbScalarBufferToImageFileWriterNew.cxx b/Testing/Code/IO/otbScalarBufferToImageFileWriterNew.cxx index a94bd14d581ea66390202b660bb534ec7769b8f8..c60376800d7ea366b908d3e48268ea1bc1ded92d 100644 --- a/Testing/Code/IO/otbScalarBufferToImageFileWriterNew.cxx +++ b/Testing/Code/IO/otbScalarBufferToImageFileWriterNew.cxx @@ -21,7 +21,7 @@ #include "otbScalarBufferToImageFileWriter.h" -int otbScalarBufferToImageFileWriterNew(int argc, char* argv[]) +int otbScalarBufferToImageFileWriterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::ScalarBufferToImageFileWriter<int, double> FilterType; FilterType::Pointer filter = FilterType::New(); diff --git a/Testing/Code/IO/otbScalarBufferToImageFileWriterTest.cxx b/Testing/Code/IO/otbScalarBufferToImageFileWriterTest.cxx index 41c991966ba3387337841a6967a7335cb235ffa1..1961cd4e439c1f4b60924bf4ddec7cf3859bce5e 100644 --- a/Testing/Code/IO/otbScalarBufferToImageFileWriterTest.cxx +++ b/Testing/Code/IO/otbScalarBufferToImageFileWriterTest.cxx @@ -21,7 +21,7 @@ #include "otbScalarBufferToImageFileWriter.h" -int otbScalarBufferToImageFileWriterTest(int argc, char* argv[]) +int otbScalarBufferToImageFileWriterTest(int itkNotUsed(argc), char* argv[]) { unsigned int nbCh = atoi(argv[1]); unsigned int sizeX = atoi(argv[2]); diff --git a/Testing/Code/IO/otbShortImageIOTest.cxx b/Testing/Code/IO/otbShortImageIOTest.cxx index 2dd8515563c86a08e5ffb551ca21e54ec135f8c4..ec5cf95d2bddd989a5d490dfb6e305e7146f0d65 100644 --- a/Testing/Code/IO/otbShortImageIOTest.cxx +++ b/Testing/Code/IO/otbShortImageIOTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbShortImageIOTest(int argc, char* argv[]) +int otbShortImageIOTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbShortRGBImageIOTest.cxx b/Testing/Code/IO/otbShortRGBImageIOTest.cxx index e93620a5ec413380b6dc98c4a3a8cab2beb56425..1ea47b1cea5dc608f2b9b775cee676795aa1472a 100644 --- a/Testing/Code/IO/otbShortRGBImageIOTest.cxx +++ b/Testing/Code/IO/otbShortRGBImageIOTest.cxx @@ -25,7 +25,7 @@ #include "itkMacro.h" #include <iostream> -int otbShortRGBImageIOTest(int argc, char* argv[]) +int otbShortRGBImageIOTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbSpectralSensitivityReaderNew.cxx b/Testing/Code/IO/otbSpectralSensitivityReaderNew.cxx index 656bde1abfb7a770ca631c0b49da71fc3cc4bbf0..46f70d2af0e8d9aec9689464a5e95de78ea5148e 100644 --- a/Testing/Code/IO/otbSpectralSensitivityReaderNew.cxx +++ b/Testing/Code/IO/otbSpectralSensitivityReaderNew.cxx @@ -20,7 +20,7 @@ using namespace otb; -int otbSpectralSensitivityReaderNew(int argc, char* argv[]) +int otbSpectralSensitivityReaderNew(int itkNotUsed(argc) char ** itkNotUsed(argv)) { SpectralSensitivityReader::Pointer spectSen = SpectralSensitivityReader::New(); diff --git a/Testing/Code/IO/otbSpectralSensitivityReaderTest.cxx b/Testing/Code/IO/otbSpectralSensitivityReaderTest.cxx index 7931d6e40fd06971dc2f99c66c1ceabeb4e21c6e..641b9d4e1f02728bbfbaf36f89cb28ec43760af7 100644 --- a/Testing/Code/IO/otbSpectralSensitivityReaderTest.cxx +++ b/Testing/Code/IO/otbSpectralSensitivityReaderTest.cxx @@ -23,7 +23,7 @@ using namespace otb; -int otbSpectralSensitivityReaderNew(int argc, char* argv[]) +int otbSpectralSensitivityReaderNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { SpectralSensitivityReader::Pointer spectSen = SpectralSensitivityReader::New(); @@ -33,7 +33,7 @@ int otbSpectralSensitivityReaderNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbSpectralSensitivityReaderTest(int argc, char* argv[]) +int otbSpectralSensitivityReaderTest(int itkNotUsed(argc), char* argv[]) { const char * dataPath = argv[1]; const char * imageName = argv[2]; @@ -60,7 +60,7 @@ int otbSpectralSensitivityReaderTest(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbSpectralSensitivityReaderGenericTest(int argc, char* argv[]) +int otbSpectralSensitivityReaderGenericTest(int itkNotUsed(argc), char* argv[]) { const char * sensitivityFileName = argv[1]; const char * imageName = argv[2]; @@ -87,4 +87,3 @@ int otbSpectralSensitivityReaderGenericTest(int argc, char* argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/IO/otbSpot6ImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbSpot6ImageMetadataInterfaceNew.cxx index 270e3276d07eda7788de0973d780806b3920cd62..fe9ab142fdfe7128238e43210f1b63bb1a6105c1 100644 --- a/Testing/Code/IO/otbSpot6ImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbSpot6ImageMetadataInterfaceNew.cxx @@ -24,7 +24,7 @@ #include "otbSpot6ImageMetadataInterface.h" -int otbSpot6ImageMetadataInterfaceNew(int argc, char* argv[]) +int otbSpot6ImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::Spot6ImageMetadataInterface::Pointer object = otb::Spot6ImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbSpotImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbSpotImageMetadataInterfaceNew.cxx index 7fdd7961dff6627ef79b9cbbf808251a6e0101ea..6b55f862629dfab9e29cf86416fa08811003e125 100644 --- a/Testing/Code/IO/otbSpotImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbSpotImageMetadataInterfaceNew.cxx @@ -24,7 +24,7 @@ #include "otbSpotImageMetadataInterface.h" -int otbSpotImageMetadataInterfaceNew(int argc, char* argv[]) +int otbSpotImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::SpotImageMetadataInterface::Pointer object = otb::SpotImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbStreamingImageFileWriterTest.cxx b/Testing/Code/IO/otbStreamingImageFileWriterTest.cxx index d330368debaefbe872f0f15f8efde9ddf30abe03..035a7c9f7bf1f78c11e1193e3fa7db25055c8c46 100644 --- a/Testing/Code/IO/otbStreamingImageFileWriterTest.cxx +++ b/Testing/Code/IO/otbStreamingImageFileWriterTest.cxx @@ -27,7 +27,7 @@ #include "otbStreamingImageFileWriter.h" #include "otbImageFileWriter.h" -int otbStreamingImageFileWriterTest(int argc, char* argv[]) +int otbStreamingImageFileWriterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbStreamingImageFileWriterTestCalculateNumberOfDivisions.cxx b/Testing/Code/IO/otbStreamingImageFileWriterTestCalculateNumberOfDivisions.cxx index e60ee04057c85a10710f4edca0b3c970a16f629b..fe3bae2e8db94af5b8397e65258f8d6a89f0f96b 100644 --- a/Testing/Code/IO/otbStreamingImageFileWriterTestCalculateNumberOfDivisions.cxx +++ b/Testing/Code/IO/otbStreamingImageFileWriterTestCalculateNumberOfDivisions.cxx @@ -23,7 +23,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbImageFileWriterTestCalculateNumberOfDivisions(int argc, char* argv[]) +int otbImageFileWriterTestCalculateNumberOfDivisions(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbStreamingImageFileWriterWithFilterTest.cxx b/Testing/Code/IO/otbStreamingImageFileWriterWithFilterTest.cxx index 01a61a429c19f41827518f7f0a0a783260967993..99c23c6e28ad3f57906aec08ed44a91f798665d1 100644 --- a/Testing/Code/IO/otbStreamingImageFileWriterWithFilterTest.cxx +++ b/Testing/Code/IO/otbStreamingImageFileWriterWithFilterTest.cxx @@ -28,7 +28,7 @@ #include "otbImageFileWriter.h" #include "itkMeanImageFilter.h" -int otbImageFileWriterWithFilterTest(int argc, char* argv[]) +int otbImageFileWriterWithFilterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbStreamingImageFilterTest.cxx b/Testing/Code/IO/otbStreamingImageFilterTest.cxx index da5c3232128d9d1d9ade6d5770c8618b0a1d3384..7ac0ac01b77588d024325386ec7596b26bdfd781 100644 --- a/Testing/Code/IO/otbStreamingImageFilterTest.cxx +++ b/Testing/Code/IO/otbStreamingImageFilterTest.cxx @@ -27,7 +27,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbStreamingImageFilterTest(int argc, char* argv[]) +int otbStreamingImageFilterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbStreamingShortImageFileWriterTest.cxx b/Testing/Code/IO/otbStreamingShortImageFileWriterTest.cxx index 01d0852b4636dbdec5cee94e9bd5da5e9ff846f3..d9af7ad0e5b3c69368c252dd24b083794e26aa7d 100644 --- a/Testing/Code/IO/otbStreamingShortImageFileWriterTest.cxx +++ b/Testing/Code/IO/otbStreamingShortImageFileWriterTest.cxx @@ -27,7 +27,7 @@ #include "otbImageFileWriter.h" #include "otbImageFileWriter.h" -int otbStreamingShortImageFileWriterTest(int argc, char* argv[]) +int otbStreamingShortImageFileWriterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line const char * inputFilename = argv[1]; diff --git a/Testing/Code/IO/otbTerraSarImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbTerraSarImageMetadataInterfaceNew.cxx index 80aef48087884c75623b2a92571eb3c259ce8722..527bc12428c1c428ed8c60bbd932491c06b91351 100644 --- a/Testing/Code/IO/otbTerraSarImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbTerraSarImageMetadataInterfaceNew.cxx @@ -26,7 +26,7 @@ #include "otbImageFileReader.h" #include "otbTerraSarImageMetadataInterface.h" -int otbTerraSarImageMetadataInterfaceNew(int argc, char* argv[]) +int otbTerraSarImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::TerraSarImageMetadataInterface::Pointer object = otb::TerraSarImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbThreadsTest.cxx b/Testing/Code/IO/otbThreadsTest.cxx index c176a1dd3110d731028405d6962bc54f83bdafe9..748becc5fc849bde9e2dd89ad9cb36fdcedb04d9 100644 --- a/Testing/Code/IO/otbThreadsTest.cxx +++ b/Testing/Code/IO/otbThreadsTest.cxx @@ -18,8 +18,9 @@ #include <cstdlib> #include "otbThreads.h" +#include "itkMacro.h" -int otbThreadsTest(int argc, char* argv[]) +int otbThreadsTest(int itkNotUsed(argc), char** itkNotUsed(argv)) { otb::Threads::Sleep(10); return EXIT_SUCCESS; diff --git a/Testing/Code/IO/otbTileMapImageIOHelperTest.cxx b/Testing/Code/IO/otbTileMapImageIOHelperTest.cxx index 11798a925c1a67c1a2a29721659b28ec0b7efb09..b38c88e26f64e7e8a64b658184eea60d9d86df28 100644 --- a/Testing/Code/IO/otbTileMapImageIOHelperTest.cxx +++ b/Testing/Code/IO/otbTileMapImageIOHelperTest.cxx @@ -19,7 +19,7 @@ #include <fstream> #include "otbTileMapImageIOHelper.h" -int otbTileMapImageIOHelperNew(int argc, char * argv[]) +int otbTileMapImageIOHelperNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::TileMapImageIOHelper::Pointer myTileMapImageIOHelper; @@ -27,7 +27,7 @@ int otbTileMapImageIOHelperNew(int argc, char * argv[]) return EXIT_SUCCESS; } -int otbTileMapImageIOHelperTest(int argc, char * argv[]) +int otbTileMapImageIOHelperTest(int itkNotUsed(argc), char * argv[]) { otb::TileMapImageIOHelper::Pointer myTileMapImageIOHelper; myTileMapImageIOHelper = otb::TileMapImageIOHelper::New(); diff --git a/Testing/Code/IO/otbVectorDataFileGeoReaderWriter.cxx b/Testing/Code/IO/otbVectorDataFileGeoReaderWriter.cxx index 0f673e2840c6353e2ce0f6a9b7dfc1f2ed35be4f..3b7ac8e6e0db61629352569985fa7b4f293396dc 100644 --- a/Testing/Code/IO/otbVectorDataFileGeoReaderWriter.cxx +++ b/Testing/Code/IO/otbVectorDataFileGeoReaderWriter.cxx @@ -24,7 +24,7 @@ #include "itkMetaDataObject.h" #include "otbMetaDataKey.h" -int otbVectorDataFileGeoReaderWriter(int argc, char * argv[]) +int otbVectorDataFileGeoReaderWriter(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorData<double, 2> VectorDataType; diff --git a/Testing/Code/IO/otbVectorDataFileReader.cxx b/Testing/Code/IO/otbVectorDataFileReader.cxx index cbabe1d114bef7b9e7d5bc1a9c2fa306e5bbc051..06a7f835943990da3d0654646c4dc4123084137c 100644 --- a/Testing/Code/IO/otbVectorDataFileReader.cxx +++ b/Testing/Code/IO/otbVectorDataFileReader.cxx @@ -24,7 +24,7 @@ #include "itkDataObject.h" #include "otbDataNode.h" -int otbVectorDataFileReader(int argc, char * argv[]) +int otbVectorDataFileReader(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorData<> VectorDataType; typedef otb::VectorDataFileReader<VectorDataType> VectorDataFileReaderType; diff --git a/Testing/Code/IO/otbVectorDataFileReaderNew.cxx b/Testing/Code/IO/otbVectorDataFileReaderNew.cxx index e0641cb708a05f479203d525937fe17b1f8343e7..b6f5b6ed2dcb23f6cab71095d30f5034c70a4c37 100644 --- a/Testing/Code/IO/otbVectorDataFileReaderNew.cxx +++ b/Testing/Code/IO/otbVectorDataFileReaderNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorDataFileReader.h" #include "otbVectorData.h" -int otbVectorDataFileReaderNew(int argc, char * argv[]) +int otbVectorDataFileReaderNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorData<> VectorDataType; typedef otb::VectorDataFileReader<VectorDataType> VectorDataFileReaderType; diff --git a/Testing/Code/IO/otbVectorDataFileReaderWriter.cxx b/Testing/Code/IO/otbVectorDataFileReaderWriter.cxx index 6a54798aee5a25b1f85f952aaeb405d464fea7be..3c59cead7a10bd69c7b59e44b3282c16a46cb3e7 100644 --- a/Testing/Code/IO/otbVectorDataFileReaderWriter.cxx +++ b/Testing/Code/IO/otbVectorDataFileReaderWriter.cxx @@ -22,7 +22,7 @@ #include "otbVectorDataFileWriter.h" #include "otbVectorDataFileReader.h" -int otbVectorDataFileReaderWriter(int argc, char * argv[]) +int otbVectorDataFileReaderWriter(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorData<double, 2> VectorDataType; diff --git a/Testing/Code/IO/otbVectorDataFileWriter.cxx b/Testing/Code/IO/otbVectorDataFileWriter.cxx index 2bf4de3a9e5aa50669677dfe5f6f6c2945b4658c..4766b2c483565adba2e54240bc7378e2ad979fb0 100644 --- a/Testing/Code/IO/otbVectorDataFileWriter.cxx +++ b/Testing/Code/IO/otbVectorDataFileWriter.cxx @@ -21,7 +21,7 @@ #include "otbVectorData.h" #include "otbVectorDataFileWriter.h" -int otbVectorDataFileWriter(int argc, char * argv[]) +int otbVectorDataFileWriter(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorData<double, 2> VectorDataType; diff --git a/Testing/Code/IO/otbVectorDataFileWriterMultiPolygons.cxx b/Testing/Code/IO/otbVectorDataFileWriterMultiPolygons.cxx index 20b25897f1092cce5bc34db83cdc9b92e77c3171..0832018318cd5af5acb2f19ac9fd09119f84362e 100644 --- a/Testing/Code/IO/otbVectorDataFileWriterMultiPolygons.cxx +++ b/Testing/Code/IO/otbVectorDataFileWriterMultiPolygons.cxx @@ -21,7 +21,7 @@ #include "otbVectorData.h" #include "otbVectorDataFileWriter.h" -int otbVectorDataFileWriterMultiPolygons(int argc, char * argv[]) +int otbVectorDataFileWriterMultiPolygons(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorData<double, 2> VectorDataType; diff --git a/Testing/Code/IO/otbVectorDataFileWriterNew.cxx b/Testing/Code/IO/otbVectorDataFileWriterNew.cxx index 93001b5028f4bdac220ab559770222fab904d096..243164f1dc0eb76ced2306ac13cacc4322488a9f 100644 --- a/Testing/Code/IO/otbVectorDataFileWriterNew.cxx +++ b/Testing/Code/IO/otbVectorDataFileWriterNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorDataFileWriter.h" #include "otbVectorData.h" -int otbVectorDataFileWriterNew(int argc, char * argv[]) +int otbVectorDataFileWriterNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorData<double, 2> VectorDataType; typedef VectorDataType::DataNodeType DataNodeType; diff --git a/Testing/Code/IO/otbVectorDataFileWriterPolygons.cxx b/Testing/Code/IO/otbVectorDataFileWriterPolygons.cxx index 44396fdcfdcfbb283f77d5bffbc486b76e468030..af0c14cd1bc77ff0ddfd05e628bf6f26ac9482cf 100644 --- a/Testing/Code/IO/otbVectorDataFileWriterPolygons.cxx +++ b/Testing/Code/IO/otbVectorDataFileWriterPolygons.cxx @@ -21,7 +21,7 @@ #include "otbVectorData.h" #include "otbVectorDataFileWriter.h" -int otbVectorDataFileWriterPolygons(int argc, char * argv[]) +int otbVectorDataFileWriterPolygons(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorData<double, 2> VectorDataType; diff --git a/Testing/Code/IO/otbVectorDataIOFactory.cxx b/Testing/Code/IO/otbVectorDataIOFactory.cxx index 23c66264273320be4141a385a828826cdfc5c4c2..cb802c2f264089377a27f011148547cafaf69963 100644 --- a/Testing/Code/IO/otbVectorDataIOFactory.cxx +++ b/Testing/Code/IO/otbVectorDataIOFactory.cxx @@ -19,7 +19,7 @@ #include "otbVectorDataIOFactory.h" #include "otbVectorData.h" -int otbVectorDataIOFactory(int argc, char * argv[]) +int otbVectorDataIOFactory(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorDataIOFactory VectorData1IOFactoryType; typedef VectorData1IOFactoryType::VectorDataIOBasePointerType VectorData1IOBasePointerType; @@ -29,4 +29,3 @@ int otbVectorDataIOFactory(int argc, char * argv[]) return EXIT_SUCCESS; } - diff --git a/Testing/Code/IO/otbVectorDataKeywordlistTest.cxx b/Testing/Code/IO/otbVectorDataKeywordlistTest.cxx index 99b4b60f142957aef703d8175965f865f7e426f6..ecf9e06aa024be6e8b7632eb4fcdc3aced6d5850 100644 --- a/Testing/Code/IO/otbVectorDataKeywordlistTest.cxx +++ b/Testing/Code/IO/otbVectorDataKeywordlistTest.cxx @@ -23,14 +23,14 @@ #include "otbVectorDataFileReader.h" #include "otbMetaDataKey.h" -int otbVectorDataKeywordlistNew(int argc, char * argv[]) +int otbVectorDataKeywordlistNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::VectorDataKeywordlist kwl; std::cout << kwl << std::endl; return EXIT_SUCCESS; } -int otbVectorDataKeywordlist(int argc, char * argv[]) +int otbVectorDataKeywordlist(int itkNotUsed(argc), char * argv[]) { typedef otb::VectorData<> VectorDataType; diff --git a/Testing/Code/IO/otbVectorDataSourceNew.cxx b/Testing/Code/IO/otbVectorDataSourceNew.cxx index bdf2b79d5597f63f439270165cfbef242fd33ef1..00351fb7194a4a161fe2ceb24564486b4c2094ed 100644 --- a/Testing/Code/IO/otbVectorDataSourceNew.cxx +++ b/Testing/Code/IO/otbVectorDataSourceNew.cxx @@ -19,7 +19,7 @@ #include "otbVectorDataSource.h" #include "otbVectorData.h" -int otbVectorDataSourceNew(int argc, char * argv[]) +int otbVectorDataSourceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { typedef otb::VectorData<> VectorDataType; typedef otb::VectorDataSource<VectorDataType> VectorDataSourceType; diff --git a/Testing/Code/IO/otbVectorImageFileReaderWriterTest.cxx b/Testing/Code/IO/otbVectorImageFileReaderWriterTest.cxx index a9a08c26cd58b9a9c62bf55e99537dd6d0678399..5dc352cc0c76aaa6ea3e214c0201b95a3a1b125f 100644 --- a/Testing/Code/IO/otbVectorImageFileReaderWriterTest.cxx +++ b/Testing/Code/IO/otbVectorImageFileReaderWriterTest.cxx @@ -25,7 +25,7 @@ #include "otbImageFileReader.h" #include "otbImageFileWriter.h" -int otbVectorImageFileReaderWriterTest(int argc, char* argv[]) +int otbVectorImageFileReaderWriterTest(int itkNotUsed(argc), char* argv[]) { // Verify the number of parameters in the command line diff --git a/Testing/Code/IO/otbWavelengthSpectralBandsTest.cxx b/Testing/Code/IO/otbWavelengthSpectralBandsTest.cxx index 13bd49abefee79e193695f4dda3940dca8524369..876762b77c0703a6d9b1e933e68184c15e2dc453 100644 --- a/Testing/Code/IO/otbWavelengthSpectralBandsTest.cxx +++ b/Testing/Code/IO/otbWavelengthSpectralBandsTest.cxx @@ -21,7 +21,7 @@ using namespace otb; -int otbFilterFunctionValuesNew(int argc, char* argv[]) +int otbFilterFunctionValuesNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { FilterFunctionValues::Pointer spectSen = FilterFunctionValues::New(); @@ -29,11 +29,10 @@ int otbFilterFunctionValuesNew(int argc, char* argv[]) return EXIT_SUCCESS; } -int otbWavelengthSpectralBandsNew(int argc, char* argv[]) +int otbWavelengthSpectralBandsNew(int itkNotUsed(argc), char** itkNotUsed(argv)) { WavelengthSpectralBands::Pointer spectSen = WavelengthSpectralBands::New(); return EXIT_SUCCESS; } - diff --git a/Testing/Code/IO/otbWorldView2ImageMetadataInterfaceNew.cxx b/Testing/Code/IO/otbWorldView2ImageMetadataInterfaceNew.cxx index a1cd5d9b2a666cdd20a804a17358e21cdc6dd201..3de8871482fdaad06debb75a083bc4b410250556 100644 --- a/Testing/Code/IO/otbWorldView2ImageMetadataInterfaceNew.cxx +++ b/Testing/Code/IO/otbWorldView2ImageMetadataInterfaceNew.cxx @@ -24,7 +24,7 @@ #include "otbWorldView2ImageMetadataInterface.h" -int otbWorldView2ImageMetadataInterfaceNew(int argc, char* argv[]) +int otbWorldView2ImageMetadataInterfaceNew(int itkNotUsed(argc), char ** itkNotUsed(argv)) { otb::WorldView2ImageMetadataInterface::Pointer object = otb::WorldView2ImageMetadataInterface::New(); diff --git a/Testing/Code/IO/otbWritingComplexDataWithComplexImageTest.cxx b/Testing/Code/IO/otbWritingComplexDataWithComplexImageTest.cxx index 999523041f9b70a112609791c428248d332a5214..bc905e8caf92bd7a7ff1a42e5de673487e506e7a 100644 --- a/Testing/Code/IO/otbWritingComplexDataWithComplexImageTest.cxx +++ b/Testing/Code/IO/otbWritingComplexDataWithComplexImageTest.cxx @@ -23,7 +23,7 @@ #include "otbImage.h" #include "otbMacro.h" -int otbWritingComplexDataWithComplexImageTest(int argc, char * argv[]) +int otbWritingComplexDataWithComplexImageTest(int itkNotUsed(argc), char * argv[]) { typedef double RealType; typedef std::complex<RealType> PixelType;