1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0022922: Clean up warnings on uninitialized / unused variables

This commit is contained in:
dbv@opencascade.com
2012-03-07 17:00:48 +04:00
committed by bugmaster
parent 25289ec1e1
commit 6e6cd5d949
226 changed files with 151 additions and 1471 deletions

View File

@@ -70,8 +70,8 @@ void IntPolyh_Intersection::Perform() {
Standard_Integer nbCouplesStd = 0;
Standard_Integer nbCouplesAdv = 0;
GeomAbs_SurfaceType ST1 = mySurf1->GetType();
GeomAbs_SurfaceType ST2 = mySurf2->GetType();
//GeomAbs_SurfaceType ST1 = mySurf1->GetType();
//GeomAbs_SurfaceType ST2 = mySurf2->GetType();
// if(ST1 == GeomAbs_Torus || ST2 == GeomAbs_Torus)
// startFromAdvanced = Standard_True;

View File

@@ -373,7 +373,7 @@ void IntPolyh_MaillageAffinage::FillArrayOfPnt
Standard_Boolean bDegI, bDeg;
Standard_Integer aNbU, aNbV, iCnt, i, j;
Standard_Integer aID1, aID2, aJD1, aJD2;
Standard_Real aTol, aU, aV, aX, aY, aZ, aDegX, aTol2;
Standard_Real aTol, aU, aV, aX, aY, aZ;
gp_Pnt aP;
//
aNbU=(SurfID==1)? NbSamplesU1 : NbSamplesU2;