diff options
author | Denis Barbier <bouzim@gmail.com> | 2011-12-22 15:26:22 +0100 |
---|---|---|
committer | Denis Barbier <bouzim@gmail.com> | 2011-12-29 15:15:39 +0100 |
commit | 8da6ce067188c07412eaa9f746f721361af0c48f (patch) | |
tree | ac5714a0e56052e9969a3286ba191c0d3f6d897a /src/IntPatch | |
parent | 3275cb19e827a074fd6e900792a46e6cc8a3503d (diff) | |
download | oce-8da6ce067188c07412eaa9f746f721361af0c48f.tar.gz oce-8da6ce067188c07412eaa9f746f721361af0c48f.zip |
[warning-fix][unused-local-var]
Diffstat (limited to 'src/IntPatch')
-rw-r--r-- | src/IntPatch/IntPatch_ALine.cxx | 11 | ||||
-rw-r--r-- | src/IntPatch/IntPatch_LineConstructor.cxx | 4 | ||||
-rw-r--r-- | src/IntPatch/IntPatch_Polyhedron.cxx | 7 |
3 files changed, 2 insertions, 20 deletions
diff --git a/src/IntPatch/IntPatch_ALine.cxx b/src/IntPatch/IntPatch_ALine.cxx index 1a84e892..b03b638c 100644 --- a/src/IntPatch/IntPatch_ALine.cxx +++ b/src/IntPatch/IntPatch_ALine.cxx @@ -488,11 +488,7 @@ void IntPatch_ALine::ComputeVertexParameters(const Standard_Real Tol) { nbvtx = NbVertex(); if(nbvtx>1) { IntPatch_Point& VTX0 = svtx.ChangeValue(1); -#ifdef DEB - //Standard_Real d; - IntPatch_Point& VTX1 = -#endif - svtx.ChangeValue(2); + svtx.ChangeValue(2); if( (VTX0.IsOnDomS1() == Standard_False) && (VTX0.IsOnDomS2() == Standard_False)) { svtx.Remove(1); @@ -504,10 +500,7 @@ void IntPatch_ALine::ComputeVertexParameters(const Standard_Real Tol) { } if(nbvtx>1) { IntPatch_Point& VTX0 = svtx.ChangeValue(nbvtx); -#ifdef DEB - IntPatch_Point& VTX1 = -#endif - svtx.ChangeValue(nbvtx-1); + svtx.ChangeValue(nbvtx-1); if( (VTX0.IsOnDomS1() == Standard_False) && (VTX0.IsOnDomS2() == Standard_False)) { svtx.Remove(nbvtx); diff --git a/src/IntPatch/IntPatch_LineConstructor.cxx b/src/IntPatch/IntPatch_LineConstructor.cxx index ee5ca02e..b9ee35e8 100644 --- a/src/IntPatch/IntPatch_LineConstructor.cxx +++ b/src/IntPatch/IntPatch_LineConstructor.cxx @@ -1399,10 +1399,6 @@ void IntPatch_LineConstructor::Perform(const IntPatch_SequenceOfLine& slinref, } else if (typl != IntPatch_Restriction) { // JAG 01.07.96 Standard_Real u1,v1,u2,v2; -#ifdef DEB - Standard_Real paramminonvtx=RealLast(); - Standard_Real parammaxonvtx=-paramminonvtx; -#endif Handle(IntPatch_GLine)& GLine = *((Handle(IntPatch_GLine) *)&L); slin.Clear(); diff --git a/src/IntPatch/IntPatch_Polyhedron.cxx b/src/IntPatch/IntPatch_Polyhedron.cxx index 9e820d80..ec862d00 100644 --- a/src/IntPatch/IntPatch_Polyhedron.cxx +++ b/src/IntPatch/IntPatch_Polyhedron.cxx @@ -194,9 +194,6 @@ Standard_Real IntPatch_Polyhedron::DeflectionOnTriangle gp_XYZ XYZ3=P1.XYZ()-P3.XYZ(); gp_Vec NormalVector((XYZ1^XYZ2)+(XYZ2^XYZ3)+(XYZ3^XYZ1)); NormalVector.Normalize(); -#ifdef DEB - Standard_Real PolarDistance = NormalVector * P1.XYZ(); -#endif //-- Calcul du point u,v au centre du triangle Standard_Real u = (u1+u2+u3)/3.0; Standard_Real v = (v1+v2+v3)/3.0; @@ -317,10 +314,6 @@ Standard_Integer IntPatch_Polyhedron::TriConnex (const Standard_Integer Triang, 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; |