Skip to content
Snippets Groups Projects
Commit ddbf1967 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

WRG: avoid unreferenced local variable when itk::ExceptionObject is not used

parent c4e3aa63
Branches
Tags
No related merge requests found
......@@ -107,7 +107,7 @@ void PlaceNameToLonLat::RetrieveXML(const std::ostringstream& urlStream)
m_RequestSucceed = true;
m_Curl->RetrieveUrlInMemory(urlStream.str(), m_CurlOutput);
}
catch( itk::ExceptionObject & err )
catch( itk::ExceptionObject & )
{
m_RequestSucceed = false;
}
......
......@@ -65,7 +65,7 @@ int otbOSMToVectorDataGeneratorByName (int argc, char * argv[])
{
parser->ParseCommandLine(argc, argv, parseResult);
}
catch ( itk::ExceptionObject & err )
catch ( itk::ExceptionObject & )
{
return EXIT_FAILURE;
}
......
......@@ -124,7 +124,7 @@ int otbConfusionMatrixCalculatorWrongSize(int argc, char* argv[])
{
calculator->Compute();
}
catch (itk::ExceptionObject& e)
catch ( itk::ExceptionObject & )
{
return EXIT_FAILURE;
}
......
......@@ -38,7 +38,7 @@ int otbAeronetExtractDataBadData(int itkNotUsed(argc), char * argv[])
{
reader->Update();
}
catch (itk::ExceptionObject& e)
catch ( itk::ExceptionObject & )
{
return EXIT_SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment