1
0
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:
omy
2013-03-01 14:12:08 +04:00
parent 7f4c47564c
commit 5cbfdb412f
6 changed files with 13 additions and 14 deletions

View File

@@ -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) {