From 570d8f97cd681a2a5b70c0045056da80f1310081 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Fri, 10 Jun 2011 14:42:04 +0200
Subject: [PATCH] WRG: correct windows warning

---
 Code/IO/otbCoordinateToName.cxx  | 2 +-
 Code/IO/otbPlaceNameToLonLat.cxx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/IO/otbCoordinateToName.cxx b/Code/IO/otbCoordinateToName.cxx
index 05c75179ca..d8b7892016 100644
--- a/Code/IO/otbCoordinateToName.cxx
+++ b/Code/IO/otbCoordinateToName.cxx
@@ -115,7 +115,7 @@ void CoordinateToName::DoEvaluate()
       m_Curl->RetrieveUrlInMemory(urlStream.str(), m_CurlOutput);
       m_IsValid = true;
       }
-    catch(itk::ExceptionObject& e)
+    catch(itk::ExceptionObject)
       {
       m_IsValid = false;
       }
diff --git a/Code/IO/otbPlaceNameToLonLat.cxx b/Code/IO/otbPlaceNameToLonLat.cxx
index 33485dc5ff..8de631c175 100644
--- a/Code/IO/otbPlaceNameToLonLat.cxx
+++ b/Code/IO/otbPlaceNameToLonLat.cxx
@@ -88,7 +88,7 @@ void PlaceNameToLonLat::RetrieveXML(const std::ostringstream& urlStream)
     m_RequestSucceed = true;
     m_Curl->RetrieveUrlInMemory(urlStream.str(), m_CurlOutput);
     }
-  catch(itk::ExceptionObject& e)
+  catch(itk::ExceptionObject)
     {
     m_RequestSucceed = false;
     }
-- 
GitLab