From 7b48aa4a9f2e79aaf9ff5253128f9a54482546db Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Thu, 21 Jun 2012 10:23:59 +0200 Subject: [PATCH] WRG: remove unused variable, and catch by const-ref --- Applications/Rasterization/otbRasterization.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Rasterization/otbRasterization.cxx b/Applications/Rasterization/otbRasterization.cxx index 1a15022767..754eb84448 100644 --- a/Applications/Rasterization/otbRasterization.cxx +++ b/Applications/Rasterization/otbRasterization.cxx @@ -166,7 +166,7 @@ private: { inputProjectionRef = ogrDS->GetGlobalExtent(ulx,uly,lrx,lry); } - catch(itk::ExceptionObject & err) + catch(const itk::ExceptionObject&) { extentAvailable = false; } -- GitLab