mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023533: Unitialized variables used, IntTools_TopolTool.cxx
Also contains fixes for: 0023534: Unitialized variables used, ShapeAnalysis_TransferParameters.cxx 0023537: Uninitialized variable: MaxUserColor 0023538: Memory leak: cdata 0023557: V547 Expression 'as1.ToCString() != ""' is always true. To compare strings you should use strcmp() function. qabugs_3.cxx, DRAW command for test bugs fclasses buc60724 corrected; test is OK now
This commit is contained in:
@@ -57,7 +57,7 @@ void ShapeAnalysis_TransferParameters::Init(const TopoDS_Edge& E, const TopoDS_F
|
||||
{
|
||||
myScale = 1.;
|
||||
myShift = 0.;
|
||||
Standard_Real l,f,l2d,f2d;
|
||||
Standard_Real l,f,l2d = 0.0,f2d = 0.0;
|
||||
TopLoc_Location L;
|
||||
myEdge = E;
|
||||
ShapeAnalysis_Edge sae;
|
||||
|
Reference in New Issue
Block a user