diff --git a/src/Geom/Geom_OsculatingSurface.cxx b/src/Geom/Geom_OsculatingSurface.cxx index da2a54df77..665d97b760 100644 --- a/src/Geom/Geom_OsculatingSurface.cxx +++ b/src/Geom/Geom_OsculatingSurface.cxx @@ -446,7 +446,6 @@ Standard_Boolean Geom_OsculatingSurface::BuildOsculatingSurface const Handle(Geom_BSplineSurface)& BS, Handle(Geom_BSplineSurface)& BSpl) const { - Standard_Integer i, j; Standard_Boolean OsculSurf=Standard_True; #ifdef OCCT_DEBUG std::cout<<"t = "<ChangeValue(i) = i-1; PolynomialVIntervals->ChangeValue(i) = i-1; @@ -560,8 +559,6 @@ Standard_Boolean Geom_OsculatingSurface::BuildOsculatingSurface VLocalIndex = 0; ULocalIndex = 0; - for(j = 1; j <= SVKnot; j++) VLocalIndex += BS->VMultiplicity(j); - for(i = 1; i <= SUKnot; i++) ULocalIndex += BS->UMultiplicity(i); ucacheparameter = BS->UKnot(SUKnot); vcacheparameter = BS->VKnot(SVKnot); vspanlength = BS->VKnot(SVKnot + 1) - BS->VKnot(SVKnot); diff --git a/tests/bugs/moddata_3/bug24621 b/tests/bugs/moddata_3/bug24621 index bfb93bb1dd..e2eeb05842 100755 --- a/tests/bugs/moddata_3/bug24621 +++ b/tests/bugs/moddata_3/bug24621 @@ -1,14 +1,7 @@ -puts "TODO OCC24621 Windows: An exception was caught" -puts "TODO OCC24621 Windows: \\*\\* Exception \\*\\*.*" -puts "TODO OCC24621 Windows: TEST INCOMPLETE" - puts "========" -puts "OCC24621" +puts "OCC24621: F a i l e d to build Geom_OffsetSurface on B-Spline" puts "========" puts "" -################################################## -# Failed to build Geom_OffsetSurface on B-Spline -################################################## restore [locate_data_file bug24621_bs.draw] bs