Commit e0bf9cab authored by Antoine Regimbeau's avatar Antoine Regimbeau

WRG: remove unused variable

parent e6f5c642
...@@ -101,7 +101,7 @@ int otbSpatialReferenceTest(int, char* []) ...@@ -101,7 +101,7 @@ int otbSpatialReferenceTest(int, char* [])
} }
} }
catch(InvalidSRDescriptionException & err) catch(InvalidSRDescriptionException & )
{ {
std::cerr<<"Fail: Constructor should not throw with valid description EPSG:4326 and EPSG:32631"<<std::endl; std::cerr<<"Fail: Constructor should not throw with valid description EPSG:4326 and EPSG:32631"<<std::endl;
success = false; success = false;
...@@ -138,7 +138,7 @@ int otbSpatialReferenceTest(int, char* []) ...@@ -138,7 +138,7 @@ int otbSpatialReferenceTest(int, char* [])
std::cerr<<"Fail: Calling constructor with wrong description should throw"<<std::endl; std::cerr<<"Fail: Calling constructor with wrong description should throw"<<std::endl;
success = false; success = false;
} }
catch(InvalidSRDescriptionException & err) catch(InvalidSRDescriptionException & )
{} {}
if(success) if(success)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment