]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Conditional jump or move depends on uninitialised value
authoreap <eap@opencascade.com>
Wed, 22 Dec 2021 15:32:40 +0000 (18:32 +0300)
committereap <eap@opencascade.com>
Wed, 22 Dec 2021 15:32:40 +0000 (18:32 +0300)
src/SMESH/SMESH_Homard.cxx

index 9351216ac25d29b3af61baa5fe7bb4c61ec90504..44dd23937bb2ad50d0b9220a0692735ef1c16b67 100644 (file)
@@ -4093,6 +4093,7 @@ namespace // actual projection algorithms
                                   newSolution[0], newSolution[1]);
       projection = ElSLib::CylinderValue( newSolution[0], newSolution[1],
                                           _cylinder.Position(), _cylinder.Radius() );
+      _dist = point.Distance( projection );
 
       return ( _dist * _dist < maxDist2 )  &&  SurfaceProjector::classify( newSolution );
     }