Conditional jump or move depends on uninitialised value

This commit is contained in:
eap 2021-12-22 18:32:40 +03:00
parent 541b20a433
commit 61b08a6b20

View 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 );
}