From a247bf82d60b410ab59008d440d66c0e588b1975 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 26 Jul 2010 06:46:45 +0000
Subject: [PATCH]

---
 Numeric/Numeric.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Numeric/Numeric.cpp b/Numeric/Numeric.cpp
index b5505fef00..faf16cd959 100644
--- a/Numeric/Numeric.cpp
+++ b/Numeric/Numeric.cpp
@@ -1112,8 +1112,7 @@ void signedDistancesPointsEllipseLine(std::vector<double>&distances,
     
     distances[i] = d;
     closePts[i] = closePt;
-    int direction;
-    double distancesMin;
+    int direction=0;
     if (!(p.x()==closePt.x() && p.y()==closePt.y() && p.z()==closePt.z())){
       double xp,yp,x,y,otherp,other,propdist;
       if (p1.x()==p2.x()){
-- 
GitLab