diff --git a/Code/ApplicationEngine/otbWrapperInputImageListParameter.cxx b/Code/ApplicationEngine/otbWrapperInputImageListParameter.cxx index ebcea32ed5ccbea14e4d08c4cd841015655e6b22..723278985f80a250d0e4fc58ee09d1ae64756eef 100644 --- a/Code/ApplicationEngine/otbWrapperInputImageListParameter.cxx +++ b/Code/ApplicationEngine/otbWrapperInputImageListParameter.cxx @@ -56,7 +56,7 @@ InputImageListParameter::SetListFromFileName(const std::vector<std::string> & fi { reader->UpdateOutputInformation(); } - catch(itk::ExceptionObject & err) + catch(itk::ExceptionObject & /*err*/) { this->ClearValue(); isOk = false; diff --git a/Code/ApplicationEngine/otbWrapperInputImageParameter.cxx b/Code/ApplicationEngine/otbWrapperInputImageParameter.cxx index f55f384189afc2e9e5bffe9d67e04760b8f4d607..13286b214f8b9f2c5429319a8ec94a00c4ff6cfb 100644 --- a/Code/ApplicationEngine/otbWrapperInputImageParameter.cxx +++ b/Code/ApplicationEngine/otbWrapperInputImageParameter.cxx @@ -56,7 +56,7 @@ InputImageParameter::SetFromFileName(const std::string& filename) { reader->UpdateOutputInformation(); } - catch(itk::ExceptionObject & err) + catch(itk::ExceptionObject & /*err*/) { return false; } diff --git a/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx b/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx index 5c7926ab5463984981f94162c10e5901693c4dbe..d4db137fdfdddd4d415053a2493000555a5ec8bb 100644 --- a/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx +++ b/Code/ApplicationEngine/otbWrapperInputVectorDataListParameter.cxx @@ -106,7 +106,7 @@ InputVectorDataListParameter::AddFromFileName(const std::string & filename) { reader->UpdateOutputInformation(); } - catch(itk::ExceptionObject & err) + catch(itk::ExceptionObject & /*err*/) { return false; } diff --git a/Code/ApplicationEngine/otbWrapperInputVectorDataParameter.cxx b/Code/ApplicationEngine/otbWrapperInputVectorDataParameter.cxx index 0766ecab58649dfe8fed2f3d522f0824c868879c..194e061846c567bb3ffae8a9bb02a1ae800cb97f 100644 --- a/Code/ApplicationEngine/otbWrapperInputVectorDataParameter.cxx +++ b/Code/ApplicationEngine/otbWrapperInputVectorDataParameter.cxx @@ -51,7 +51,7 @@ InputVectorDataParameter::SetFromFileName(const std::string& filename) { reader->UpdateOutputInformation(); } - catch(itk::ExceptionObject & err) + catch(itk::ExceptionObject & /*err*/) { return false; } diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageParameter.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageParameter.cxx index d791dceb19e0072ec51a0ae4634879f5f1edc5b0..e5d9b47d01f6e51d08c5018bcf6347aff3b85ac5 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageParameter.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageParameter.cxx @@ -85,7 +85,7 @@ bool QtWidgetInputImageParameter::SetFileName(const QString& value) { bool res = true; // save value - if(m_InputImageParam->SetFromFileName(value.toStdString()) == false ) + if(m_InputImageParam->SetFromFileName(value.toStdString()) == true ) { // notify of value change QString key( QString::fromStdString(m_InputImageParam->GetKey()) ); diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataParameter.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataParameter.cxx index e57ea4e71516886d85c5a0143b179968195be91a..703cbe7e1c8963bf01321bedd72c07225f91cbfd 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataParameter.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputVectorDataParameter.cxx @@ -85,7 +85,7 @@ bool QtWidgetInputVectorDataParameter::SetFileName(const QString& value) { bool res = true; // save value - if(m_InputVectorDataParam->SetFromFileName(value.toStdString()) == false ) + if(m_InputVectorDataParam->SetFromFileName(value.toStdString()) == true ) { // notify of value change QString key( QString::fromStdString(m_InputVectorDataParam->GetKey()) );