0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / Extrema / Extrema_GenLocateExtCC.gxx
index 56a77c5..1aaf19a 100644 (file)
@@ -46,6 +46,7 @@ Methode:
 -----------------------------------------------------------------------------*/
 {
   myDone = Standard_False;
+  mySqDist = RealLast();
 
   Standard_Real Uinf = Tool1::FirstParameter(C1);
   Standard_Real Usup = Tool1::LastParameter(C1);