mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0022922: Clean up warnings on uninitialized / unused variables
This commit is contained in:
committed by
bugmaster
parent
25289ec1e1
commit
6e6cd5d949
@@ -79,9 +79,6 @@ void IntWalk_IWalking::Perform(const ThePOPIterator& Pnts1,
|
||||
etat1(I) = etat1(I) + 1;
|
||||
|
||||
Standard_Integer etat1I=etat1(I);
|
||||
#ifdef DEB
|
||||
Standard_Integer multi=0;
|
||||
#endif
|
||||
//-- cout<<" \n Etat1("<<I<<") = "<<etat1I<<endl;
|
||||
if(etat1I==2) { //-- lbr le 15 fev 99
|
||||
etat1(I)=11;
|
||||
|
@@ -221,9 +221,6 @@ Standard_Boolean IntWalk_IWalking::TestArretPassage
|
||||
|
||||
//IFV for OCC20285
|
||||
|
||||
|
||||
Standard_Real tolustolv=tolu/tolv;
|
||||
|
||||
if ((Abs(Du) < tolu2 && Abs(Dv) < tolv2) ||
|
||||
(Abs(Dup) < tolu2 && Abs(Dvp) < tolv2)) {
|
||||
|
||||
@@ -315,10 +312,7 @@ Standard_Boolean IntWalk_IWalking::TestArretPassage
|
||||
if (Arrive) {
|
||||
static math_Vector bidF(1,1);
|
||||
static math_Matrix bidD(1,1,1,2);
|
||||
#ifdef DEB
|
||||
Standard_Boolean bidB =
|
||||
#endif
|
||||
sp.Values(UV,bidF,bidD);
|
||||
sp.Values(UV,bidF,bidD);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -560,10 +554,7 @@ Standard_Boolean IntWalk_IWalking::TestArretAjout
|
||||
UV(2) = V1;
|
||||
static math_Vector bidF(1,1);
|
||||
static math_Matrix bidD(1,1,1,2);
|
||||
#ifdef DEB
|
||||
Standard_Boolean bidB =
|
||||
#endif
|
||||
sp.Values(UV,bidF,bidD);
|
||||
sp.Values(UV,bidF,bidD);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -660,10 +651,7 @@ void IntWalk_IWalking::TestArretCadre
|
||||
if (Found) {
|
||||
static math_Vector bidF(1,1);
|
||||
static math_Matrix bidD(1,1,1,2);
|
||||
#ifdef DEB
|
||||
Standard_Boolean bidB =
|
||||
#endif
|
||||
sp.Values(UV,bidF,bidD);
|
||||
sp.Values(UV,bidF,bidD);
|
||||
Standard_Integer NBP = Line->NbPoints();
|
||||
Standard_Integer Indextg;
|
||||
Line->TangentVector(Indextg);
|
||||
@@ -738,10 +726,7 @@ void IntWalk_IWalking::TestArretCadre
|
||||
Irang = -Irang; // jag 941017
|
||||
static math_Vector bidF(1,1);
|
||||
static math_Matrix bidD(1,1,1,2);
|
||||
#ifdef DEB
|
||||
Standard_Boolean bidB =
|
||||
#endif
|
||||
sp.Values(UV,bidF,bidD);
|
||||
sp.Values(UV,bidF,bidD);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@@ -484,10 +484,7 @@ static Standard_Boolean TestPassedSolutionWithNegativeState(const TColStd_Sequen
|
||||
if (Arrive) {
|
||||
static math_Vector bidF(1,1);
|
||||
static math_Matrix bidD(1,1,1,2);
|
||||
#ifdef DEB
|
||||
Standard_Boolean bidB =
|
||||
#endif
|
||||
sp.Values(UV,bidF,bidD);
|
||||
sp.Values(UV,bidF,bidD);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@@ -38,9 +38,6 @@ void IntWalk_IWalking::MakeWalkingPoint
|
||||
if (Case == 1)
|
||||
Psol.SetValue(sp.Point(),reversed, U, V);
|
||||
else if (Case == 2) {
|
||||
#ifdef DEB
|
||||
Standard_Boolean foo = sp.IsTangent();
|
||||
#endif
|
||||
Psol.SetValue(sp.Point(),reversed, U, V);
|
||||
}
|
||||
else if (Case == 11 || Case == 12 ) {
|
||||
|
@@ -400,7 +400,6 @@ void IntWalk_PWalking::Perform(const TColStd_Array1OfReal& ParDep,
|
||||
const Standard_Real v2max)
|
||||
{
|
||||
//xf
|
||||
Standard_Integer iCnt=0;
|
||||
Standard_Integer i, NbPasOKConseq;
|
||||
Standard_Real UFirst1, VFirst1, ULast1, VLast1, UFirst2, VFirst2, ULast2, VLast2;
|
||||
Standard_Real pasMaxSV[4], aTmp;
|
||||
|
Reference in New Issue
Block a user