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
@@ -1069,11 +1069,6 @@ void IntCurveSurface_Inter::InternalPerformCurveQuadric(const TheCurve&
|
||||
IntCurveSurface_TheQuadCurvExactInter QuadCurv(surface,curve);
|
||||
if(QuadCurv.IsDone()) {
|
||||
Standard_Integer NbRoots = QuadCurv.NbRoots();
|
||||
#ifdef DEB
|
||||
Standard_Integer NbInter = QuadCurv.NbIntervals();
|
||||
#else
|
||||
QuadCurv.NbIntervals();
|
||||
#endif
|
||||
Standard_Real u,v,w;
|
||||
for(Standard_Integer i = 1; i<= NbRoots; i++) {
|
||||
w = QuadCurv.Root(i);
|
||||
@@ -1127,11 +1122,6 @@ void IntCurveSurface_Inter::InternalPerform(const TheCurve& curve,
|
||||
IntCurveSurface_TheQuadCurvExactInter QuadCurv(surface,curve);
|
||||
if(QuadCurv.IsDone()) {
|
||||
Standard_Integer NbRoots = QuadCurv.NbRoots();
|
||||
#ifdef DEB
|
||||
Standard_Integer NbInter = QuadCurv.NbIntervals();
|
||||
#else
|
||||
QuadCurv.NbIntervals();
|
||||
#endif
|
||||
Standard_Real u,v,w;
|
||||
for(Standard_Integer i = 1; i<= NbRoots; i++) {
|
||||
w = QuadCurv.Root(i);
|
||||
|
@@ -126,7 +126,6 @@ void IntCurveSurface_Polygon::Init(const TheCurve& C,
|
||||
|
||||
//ddout << "IntCurveSurface_Polygon::Init" << endl;
|
||||
Standard_Real u=Binf;
|
||||
Standard_Real u1=Bsup;
|
||||
Standard_Integer i=1, i0 = Upars.Lower()-1;
|
||||
gp_Pnt P;
|
||||
|
||||
|
@@ -420,10 +420,6 @@ Standard_Integer IntCurveSurface_Polyhedron::TriConnex
|
||||
Standard_Integer& TriCon,
|
||||
Standard_Integer& OtherP) const
|
||||
{
|
||||
#ifdef DEB
|
||||
Standard_Integer nbdeltaUp1 = nbdeltaU + 1;
|
||||
Standard_Integer nbdeltaUm2 = nbdeltaU + nbdeltaU;
|
||||
#endif
|
||||
Standard_Integer Pivotm1 = Pivot-1;
|
||||
Standard_Integer nbdeltaVp1 = nbdeltaV+1;
|
||||
Standard_Integer nbdeltaVm2 = nbdeltaV + nbdeltaV;
|
||||
|
Reference in New Issue
Block a user