Salome HOME
projects
/
modules
/
homard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bb11b
)
Conditional jump or move depends on uninitialised value
author
eap
<eap@opencascade.com>
Wed, 22 Dec 2021 15:45:56 +0000
(18:45 +0300)
committer
eap
<eap@opencascade.com>
Wed, 22 Dec 2021 15:45:56 +0000
(18:45 +0300)
src/FrontTrack/FrontTrack_Projector.cxx
patch
|
blob
|
history
diff --git
a/src/FrontTrack/FrontTrack_Projector.cxx
b/src/FrontTrack/FrontTrack_Projector.cxx
index 62b883cb2d8d2d441ccf7368d226ad95ab5c26ab..614069c860e41edea5c9798b8cba76eed5dfd5a7 100644
(file)
--- 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 );
}