From a279cc5e64db83e50e299ef79a38915b8c0cf435 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 22 Dec 2021 18:45:56 +0300 Subject: [PATCH] Conditional jump or move depends on uninitialised value --- src/FrontTrack/FrontTrack_Projector.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FrontTrack/FrontTrack_Projector.cxx b/src/FrontTrack/FrontTrack_Projector.cxx index 62b883cb..614069c8 100644 --- a/src/FrontTrack/FrontTrack_Projector.cxx +++ b/src/FrontTrack/FrontTrack_Projector.cxx @@ -463,6 +463,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 ); } -- 2.30.2