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
@@ -812,9 +812,6 @@ Standard_Boolean BRepBlend_RstRstConstRad::Section(const Blend_Point& P,
|
||||
math_Matrix gradsol(1, 2, 1, 2);
|
||||
|
||||
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;
|
||||
|
@@ -915,9 +915,6 @@ Standard_Boolean BRepBlend_RstRstEvolRad::Section(const Blend_Point& P,
|
||||
math_Matrix gradsol(1, 2, 1, 2);
|
||||
|
||||
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;
|
||||
|
@@ -102,9 +102,6 @@ Standard_Boolean BRepBlend_SurfCurvConstRadInv::Derivatives(const math_Vector& X
|
||||
Standard_Real normd1gui = d1gui.Magnitude();
|
||||
Standard_Real unsurnormd1gui = 1./normd1gui;
|
||||
gp_Vec nplan = d1gui.Multiplied(unsurnormd1gui);
|
||||
#ifdef DEB
|
||||
Standard_Real theD = -(nplan.XYZ().Dot(ptgui.XYZ()));
|
||||
#endif
|
||||
gp_Vec dnplan;
|
||||
dnplan.SetLinearForm(-nplan.Dot(d2gui),nplan,d2gui);
|
||||
dnplan.Multiply(unsurnormd1gui);
|
||||
|
@@ -100,9 +100,6 @@ const Handle(Adaptor3d_HCurve)& Cg,
|
||||
ray=sg1*ray;
|
||||
dray=sg1*dray;
|
||||
gp_Vec nplan = d1gui.Multiplied(unsurnormd1gui);
|
||||
#ifdef DEB
|
||||
Standard_Real theD = -(nplan.XYZ().Dot(ptgui.XYZ()));
|
||||
#endif
|
||||
gp_Vec dnplan;
|
||||
dnplan.SetLinearForm(-nplan.Dot(d2gui),nplan,d2gui);
|
||||
dnplan.Multiply(unsurnormd1gui);
|
||||
|
@@ -869,9 +869,6 @@ Standard_Boolean BRepBlend_SurfRstConstRad::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;
|
||||
|
@@ -877,9 +877,6 @@ TColStd_Array1OfReal& DWeigths)
|
||||
math_Matrix gradsol(1,3,1,3);
|
||||
|
||||
Standard_Real prm = P.Parameter(),rayprim;
|
||||
#ifdef DEB
|
||||
Standard_Integer NbSpan=(Poles.Length()-1)/2;
|
||||
#endif
|
||||
Standard_Integer low = Poles.Lower();
|
||||
Standard_Integer upp = Poles.Upper();
|
||||
Standard_Boolean istgt;
|
||||
|
@@ -909,9 +909,7 @@ Standard_Boolean BRepBlend_SurfRstLineBuilder::Recadre(Blend_SurfCurvFuncInv&
|
||||
Handle(Adaptor3d_HVertex)& Vtx)
|
||||
{
|
||||
Standard_Boolean recadre = Standard_False;
|
||||
#ifdef DEB
|
||||
Standard_Boolean byinter = (line->NbPoints() != 0);
|
||||
#endif
|
||||
|
||||
gp_Pnt2d pt2d, lastpt2d;
|
||||
Standard_Integer IndexSol, nbarc;
|
||||
Standard_Real pmin;
|
||||
|
Reference in New Issue
Block a user