mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -111,7 +111,7 @@ void IntTools_TopolTool::ComputeSamplePoints()
|
||||
myU0 = uinf;
|
||||
myV0 = vinf;
|
||||
|
||||
Standard_Integer nbsu,nbsv;
|
||||
Standard_Integer nbsu = 0,nbsv = 0;
|
||||
GeomAbs_SurfaceType typS = myS->GetType();
|
||||
|
||||
switch(typS) {
|
||||
|
Reference in New Issue
Block a user