From 3e81362b3e633b70511e452393ae88dcbaac3d43 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Tue, 26 Jun 2012 11:07:31 +0200
Subject: [PATCH] COMP: Fixing multiple variable set but not used warnings

---
 .../otbStereorectificationDeformationFieldSource.txx           | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Code/DisparityMap/otbStereorectificationDeformationFieldSource.txx b/Code/DisparityMap/otbStereorectificationDeformationFieldSource.txx
index 3026d39b30..cf6ff5e97a 100644
--- a/Code/DisparityMap/otbStereorectificationDeformationFieldSource.txx
+++ b/Code/DisparityMap/otbStereorectificationDeformationFieldSource.txx
@@ -401,7 +401,7 @@ StereorectificationDeformationFieldSource<TInputImage, TOutputImage>
 
     // 3 - Next, we will compute epipolar lines direction in both
     // images
-    double a1,b1,a2,b2;
+    double a1,b1,a2;
 
     // First, for image 1
 
@@ -454,7 +454,6 @@ StereorectificationDeformationFieldSource<TInputImage, TOutputImage>
     endLine2 = m_LeftToRightTransform->TransformPoint(epiPoint1);
     
     a2 = (endLine2[1] - startLine2[1]) / (endLine2[0] - startLine2[0]);
-    b2 = startLine2[1] - a2 * startLine2[0];
 
     // 4 - Determine position of next points
 
-- 
GitLab