1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

@@ -871,9 +871,6 @@ Standard_Boolean BlendFunc_CSConstRad::Section
math_Matrix gradsol(1,3,1,3);
Standard_Real prm = P.Parameter();
#ifdef DEB
Standard_Integer NbSpan=(Poles.Length()-1)/2;
#endif
Standard_Integer low = Poles.Lower();
Standard_Integer upp = Poles.Upper();
Standard_Boolean istgt;

View File

@@ -152,7 +152,6 @@ Standard_Boolean BlendFunc_RuledInv::Derivatives(const math_Vector& X,
const Standard_Real normtgcur = d1cur.Magnitude();
const gp_Vec nplan = d1cur.Normalized();
const Standard_Real theD = -(nplan.XYZ().Dot(ptcur.XYZ()));
gp_Vec dnplan;
dnplan.SetLinearForm(-nplan.Dot(d2cur),nplan,d2cur);