mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 06:04:17 +05:00
Conditional jump or move depends on uninitialised value
This commit is contained in:
parent
541b20a433
commit
61b08a6b20
@ -4093,6 +4093,7 @@ namespace // actual projection algorithms
|
|||||||
newSolution[0], newSolution[1]);
|
newSolution[0], newSolution[1]);
|
||||||
projection = ElSLib::CylinderValue( newSolution[0], newSolution[1],
|
projection = ElSLib::CylinderValue( newSolution[0], newSolution[1],
|
||||||
_cylinder.Position(), _cylinder.Radius() );
|
_cylinder.Position(), _cylinder.Radius() );
|
||||||
|
_dist = point.Distance( projection );
|
||||||
|
|
||||||
return ( _dist * _dist < maxDist2 ) && SurfaceProjector::classify( newSolution );
|
return ( _dist * _dist < maxDist2 ) && SurfaceProjector::classify( newSolution );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user