From 4d2ad802bb081379ad59a3eefbd40b09d27f7c38 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Wed, 25 May 2011 10:07:46 +0200
Subject: [PATCH] WRG: err no referenced (windows warning)

---
 Code/Fuzzy/otbStandardDSCostFunction.txx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Fuzzy/otbStandardDSCostFunction.txx b/Code/Fuzzy/otbStandardDSCostFunction.txx
index 9c669d535b..3db5b3ef52 100644
--- a/Code/Fuzzy/otbStandardDSCostFunction.txx
+++ b/Code/Fuzzy/otbStandardDSCostFunction.txx
@@ -83,7 +83,7 @@ typename StandardDSCostFunction<TDSValidationFilter>
     internalFunctionGT->SetFuzzyModel("RADIOM", radiom);
     internalFunctionGT->SetFuzzyModel("DBOVER", overlap);
   }
-  catch (itk::ExceptionObject & err)
+  catch (itk::ExceptionObject /*& err*/)
   {
     return (m_Weight*m_GTVectorData->Size() + (1-m_Weight)*m_NSVectorData->Size()); ;
   }
-- 
GitLab