diff --git a/Code/Common/otbCommandLineArgumentParser.cxx b/Code/Common/otbCommandLineArgumentParser.cxx index c3747adcfa5231cd1db7da458e4b7e61b04915bf..40ea7a8ca3a3ab2531f717e1a9c72f215b56443a 100644 --- a/Code/Common/otbCommandLineArgumentParser.cxx +++ b/Code/Common/otbCommandLineArgumentParser.cxx @@ -28,7 +28,7 @@ namespace otb // --------- CommandLineArgumentParseResult ---------------------------------------- void CommandLineArgumentParseResult -::PrintSelf(std::ostream& os/*, itk::Indent indent*/)const +::PrintSelf(std::ostream& /*os*/ /*, itk::Indent indent*/)const { } @@ -179,7 +179,7 @@ void CommandLineArgumentParser } void CommandLineArgumentParser -::ParseGUI(CommandLineArgumentParseResult * outResult,bool failOnUnknownTrailingParameters ) +::ParseGUI(CommandLineArgumentParseResult * /*outResult*/,bool /*failOnUnknownTrailingParameters*/ ) { /* OTB Comment : Todo : use OTB_USE_VISU_GUI cmake option for generate this method Fl_Window *window = new Fl_Window(320,(m_OptionList.size()+2)*50); diff --git a/Code/Gui/otbFltkWriterWatcher.cxx b/Code/Gui/otbFltkWriterWatcher.cxx index d1cd88f21f1887e2b78a7a8bf7d3da54cd017174..3d4cb14c40b7c608746ef4bed4044816db5be63e 100644 --- a/Code/Gui/otbFltkWriterWatcher.cxx +++ b/Code/Gui/otbFltkWriterWatcher.cxx @@ -45,7 +45,7 @@ FltkWriterWatcher void FltkWriterWatcher -::BuildGUI(int x, int y, int w, int h,const char * comment) +::BuildGUI(int x, int y, int w, int h,const char * /*comment*/) { m_Window = new Fl_Window(x,y,w+10,h+15); m_Window->label(m_Comment.c_str()); diff --git a/Code/IO/otbJPEG2000ImageIO.cxx b/Code/IO/otbJPEG2000ImageIO.cxx index 3bcc3b3c1c7fde7b1321df20b755ae7b4d4b4838..c863984e80fd731ad61acdcf1342be0a646e0ef8 100644 --- a/Code/IO/otbJPEG2000ImageIO.cxx +++ b/Code/IO/otbJPEG2000ImageIO.cxx @@ -499,7 +499,7 @@ void JPEG2000ImageIO::ReadImageInformation() } -bool JPEG2000ImageIO::CanWriteFile( const char* filename ) +bool JPEG2000ImageIO::CanWriteFile( const char* /*filename*/ ) { return false; // std::string lFileName(filename); @@ -518,7 +518,7 @@ bool JPEG2000ImageIO::CanWriteFile( const char* filename ) // } } -void JPEG2000ImageIO::Write(const void* buffer) +void JPEG2000ImageIO::Write(const void* /*buffer*/) { // char * charstarbuffer = static_cast<char *>(buffer); diff --git a/Code/Learning/otbChangeProfileKernelFunctor.cxx b/Code/Learning/otbChangeProfileKernelFunctor.cxx index daa9754433ceaa4e1e4404fd8b8fae7031f56f35..80c20722e08f1604272e9255ef307502a3e4970b 100644 --- a/Code/Learning/otbChangeProfileKernelFunctor.cxx +++ b/Code/Learning/otbChangeProfileKernelFunctor.cxx @@ -48,7 +48,7 @@ ChangeProfileKernelFunctor double ChangeProfileKernelFunctor ::operator() ( const svm_node * x, const svm_node * y, - const svm_parameter & param ) const + const svm_parameter & /*param*/ ) const { double theMax(0.); double theCur(0.); diff --git a/Code/Learning/otbMixturePolyRBFKernelFunctor.cxx b/Code/Learning/otbMixturePolyRBFKernelFunctor.cxx index 9965435496b450217843ba7610e1486d31b1315c..9b9d5647edc9f713c7678349189cad292f25f5e9 100644 --- a/Code/Learning/otbMixturePolyRBFKernelFunctor.cxx +++ b/Code/Learning/otbMixturePolyRBFKernelFunctor.cxx @@ -43,7 +43,7 @@ MixturePolyRBFKernelFunctor double MixturePolyRBFKernelFunctor ::operator() ( const svm_node * x, const svm_node * y, - const svm_parameter & param ) const + const svm_parameter & /*param*/ ) const { double kernel_poly = 0.0; if ( m_Mixture > 0.0 ) diff --git a/Code/Learning/otbSpectralAngleKernelFunctor.cxx b/Code/Learning/otbSpectralAngleKernelFunctor.cxx index 01eccdf66ee9e0eb119489aee15473a58f64bcc9..882dcb87efe15fb6b16154596b1d63f57b2d615c 100644 --- a/Code/Learning/otbSpectralAngleKernelFunctor.cxx +++ b/Code/Learning/otbSpectralAngleKernelFunctor.cxx @@ -44,7 +44,7 @@ SpectralAngleKernelFunctor double SpectralAngleKernelFunctor ::operator()( const svm_node * x, const svm_node * y, - const svm_parameter & param ) const + const svm_parameter & /*param*/ ) const { double mq = m_Coef + SAM( x, y ); diff --git a/Code/Visu/otbGluPolygonDrawingHelper.cxx b/Code/Visu/otbGluPolygonDrawingHelper.cxx index f52ef0c0e6baca71967084a844f1af31f05ac4f5..a978768b1cfaffbfa939fc35f7826c926d96cc73 100644 --- a/Code/Visu/otbGluPolygonDrawingHelper.cxx +++ b/Code/Visu/otbGluPolygonDrawingHelper.cxx @@ -37,7 +37,7 @@ extern "C" { typedef GLvoid (CALLBACK * FunctionPointerType)(); - void CALLBACK CombineCallback(GLdouble coords[3],GLdouble * data[4], GLfloat weights[4],GLdouble **dataOut) + void CALLBACK CombineCallback(GLdouble coords[3],GLdouble * /*data*/[4], GLfloat /*weights*/[4],GLdouble **dataOut) { GLdouble * vertex = new GLdouble[3]; vertex[0] = coords[0]; diff --git a/Code/Visualization/otbCircleGlComponent.cxx b/Code/Visualization/otbCircleGlComponent.cxx index a01d78a8932a98f0055943b7aa622565f2197f84..80ac0720132f8e491117c44eb3c8bbba9f9d2870 100644 --- a/Code/Visualization/otbCircleGlComponent.cxx +++ b/Code/Visualization/otbCircleGlComponent.cxx @@ -92,7 +92,7 @@ CircleGlComponent void CircleGlComponent -::Render(unsigned int id, const RegionType & extent, const AffineTransformType * space2ScreenTransform) +::Render(unsigned int id, const RegionType & /*extent*/, const AffineTransformType * space2ScreenTransform) { glColor4d(m_ColorList[id][0],m_ColorList[id][1],m_ColorList[id][2],m_ColorList[id][3]); diff --git a/Code/Visualization/otbCrossGlComponent.cxx b/Code/Visualization/otbCrossGlComponent.cxx index 6b552f73461072939ff310d3bbddfd94a2ebf73a..ff96f9bccee20c7553363b1d4c44334c6c2c8e9c 100644 --- a/Code/Visualization/otbCrossGlComponent.cxx +++ b/Code/Visualization/otbCrossGlComponent.cxx @@ -92,7 +92,7 @@ CrossGlComponent void CrossGlComponent -::Render(unsigned int id, const RegionType & extent, const AffineTransformType * space2ScreenTransform) +::Render(unsigned int id, const RegionType & /*extent*/, const AffineTransformType * space2ScreenTransform) { glColor4d(m_ColorList[id][0],m_ColorList[id][1],m_ColorList[id][2],m_ColorList[id][3]); diff --git a/Testing/Code/otbTestHelper.cxx b/Testing/Code/otbTestHelper.cxx index 9854adeee02011a63a59dcd5cd9b04869d5596b7..a85a46a5c125e7df0ebd11013079daae8253c6f6 100644 --- a/Testing/Code/otbTestHelper.cxx +++ b/Testing/Code/otbTestHelper.cxx @@ -494,7 +494,7 @@ int TestHelper::RegressionTestImage(int cpt, const char *testImageFilename, cons } int TestHelper::RegressionTestMetaData(const char *testImageFilename, const char *baselineImageFilename, - const double toleranceDiffPixelImage) const + const double /*toleranceDiffPixelImage*/) const { // Use the factory mechanism to read the test and baseline files and convert them to double typedef otb::Image<double, ITK_TEST_DIMENSION_MAX> ImageType;