]> OCCT Git - occt-copy.git/commitdiff
0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
authorkgv <kgv@opencascade.com>
Fri, 22 Nov 2019 14:02:12 +0000 (17:02 +0300)
committerbugmaster <bugmaster@opencascade.com>
Tue, 26 Nov 2019 15:29:13 +0000 (18:29 +0300)
Removed duplicating semicolons ;;.
Removed redundant semicolon at namespace closure.

97 files changed:
src/AIS/AIS_Circle.cxx
src/AIS/AIS_FixRelation.cxx
src/AIS/AIS_GraphicTool.cxx
src/AIS/AIS_IdenticRelation.cxx
src/AIS/AIS_Manipulator.hxx
src/AIS/AIS_OffsetDimension.cxx
src/Adaptor2d/Adaptor2d_OffsetCurve.cxx
src/Adaptor3d/Adaptor3d_TopolTool.cxx
src/AppBlend/AppBlend_AppSurf.gxx
src/AppCont/AppCont_LeastSquare.cxx
src/AppParCurves/AppParCurves.cxx
src/AppParCurves/AppParCurves_LeastSquare.gxx
src/Approx/Approx_SameParameter.cxx
src/BOPTools/BOPTools_AlgoTools_1.cxx
src/BRepAlgo/BRepAlgo_FaceRestrictor.cxx
src/BRepAlgoAPI/BRepAlgoAPI_BooleanOperation.cxx
src/BRepBlend/BRepBlend_SurfRstConstRad.cxx
src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx
src/BRepBndLib/BRepBndLib.cxx
src/BRepFeat/BRepFeat.cxx
src/BRepFill/BRepFill_Pipe.cxx
src/BRepFill/BRepFill_Sweep.cxx
src/BRepLib/BRepLib_MakeFace.cxx
src/BRepMesh/BRepMesh_Delaun.cxx
src/BRepOffset/BRepOffset_Inter3d.cxx
src/BRepTest/BRepTest_SweepCommands.cxx
src/BiTgte/BiTgte_Blend.cxx
src/BinTools/BinTools.cxx
src/Bisector/Bisector_Bisec.cxx
src/Bisector/Bisector_BisecCC.cxx
src/Bisector/Bisector_BisecPC.cxx
src/Blend/Blend_Walking_4.gxx
src/BlendFunc/BlendFunc_CSCircular.cxx
src/BlendFunc/BlendFunc_CSConstRad.cxx
src/BlendFunc/BlendFunc_ConstThroatInv.cxx
src/BlendFunc/BlendFunc_ConstThroatWithPenetrationInv.cxx
src/CDM/CDM_Document.hxx
src/ChFi3d/ChFi3d_Builder_0.cxx
src/ChFi3d/ChFi3d_Builder_C1.cxx
src/ChFi3d/ChFi3d_ChBuilder.cxx
src/ChFi3d/ChFi3d_FilBuilder.cxx
src/DDataStd/DDataStd_BasicCommands.cxx
src/Draw/Draw_Viewer.cxx
src/Draw/Draw_Window.cxx
src/Expr/Expr_Sum.cxx
src/Expr/Expr_UnaryFunction.cxx
src/FilletSurf/FilletSurf_InternalBuilder.cxx
src/Font/Font_FontMgr.cxx
src/GccAna/GccAna_Circ2d2TanRad_1.cxx
src/Geom2dGcc/Geom2dGcc_Circ2d2TanOnIter.cxx
src/GeomFill/GeomFill_NSections.cxx
src/GeomFill/GeomFill_Sweep.cxx
src/GeomPlate/GeomPlate_BuildPlateSurface.cxx
src/GeomToIGES/GeomToIGES_GeomCurve.cxx
src/IGESAppli/IGESAppli_ToolNodalDisplAndRot.cxx
src/IGESData/IGESData_IGESReaderTool.cxx
src/IGESDraw/IGESDraw_Protocol.cxx
src/IGESGeom/IGESGeom_Protocol.cxx
src/IGESGeom/IGESGeom_ToolSplineCurve.cxx
src/IGESGraph/IGESGraph_Protocol.cxx
src/IGESSolid/IGESSolid_Protocol.cxx
src/IGESSolid/IGESSolid_ToolShell.cxx
src/IntCurveSurface/IntCurveSurface_Polyhedron.gxx
src/IntPatch/IntPatch_InterferencePolyhedron.cxx
src/IntPatch/IntPatch_Polyhedron.cxx
src/IntPolyh/IntPolyh_Triangle.cxx
src/IntWalk/IntWalk_IWalking_2.gxx
src/LocOpe/LocOpe_SplitDrafts.cxx
src/OSD/OSD_FileNode.cxx
src/PLib/PLib.cxx
src/QABugs/QABugs_16.cxx
src/QABugs/QABugs_19.cxx
src/QABugs/QABugs_20.cxx
src/STEPConstruct/STEPConstruct_ValidationProps.cxx
src/SWDRAW/SWDRAW_ShapeFix.cxx
src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx
src/ShapeFix/ShapeFix.cxx
src/ShapeFix/ShapeFix_ComposeShell.cxx
src/ShapeFix/ShapeFix_Wire.cxx
src/ShapeUpgrade/ShapeUpgrade_SplitSurfaceContinuity.cxx
src/StepVisual/StepVisual_CoordinatesList.hxx
src/StepVisual/StepVisual_TessellatedCurveSet.hxx
src/StepVisual/StepVisual_TessellatedItem.hxx
src/TDF/TDF_Delta.cxx
src/TPrsStd/TPrsStd_ConstraintTools.cxx
src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1_1.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Section.cxx
src/TopOpeBRepDS/TopOpeBRepDS_Check.cxx
src/TopOpeBRepTool/TopOpeBRepTool_PURGE.cxx
src/TopOpeBRepTool/TopOpeBRepTool_TOPOLOGY.cxx
src/Units/Units_UnitsDictionary.lxx
src/XCAFDimTolObjects/XCAFDimTolObjects_GeomToleranceObject.hxx
src/XCAFDoc/XCAFDoc_AssemblyItemRef.hxx
src/XSControl/XSControl_Functions.cxx
src/math/math_BFGS.cxx
src/math/math_TrigonometricFunctionRoots.cxx

index 55b1d33d647fbe0e3924bb6a4c0730f7617694a0..c8eb14aec0f8675e864320b60da6d4c41d36b560 100644 (file)
@@ -197,7 +197,7 @@ void AIS_Circle::UnsetColor()
   }
   else
   {
-    Quantity_Color CC = Quantity_NOC_YELLOW;;
+    Quantity_Color CC = Quantity_NOC_YELLOW;
     if( HasColor() ) CC = myDrawer->Color();
     else if (myDrawer->HasLink()) AIS_GraphicTool::GetLineColor(myDrawer->Link(),AIS_TOA_Line,CC);
     myDrawer->LineAspect()->SetColor(CC);
index 647f209b35f7fb7cc8b0606d89ad37a08c91dc80..a0c2aca81b524925edab2b5ee96a916a4e44cbe8 100644 (file)
@@ -300,7 +300,7 @@ void AIS_FixRelation::ComputeVertex(const TopoDS_Vertex& /*FixVertex*/,
       gp_Pln pln(myPlane->Pln());
       gp_Dir dir(pln.XAxis().Direction());
       gp_Vec transvec = gp_Vec(dir)*myArrowSize;
-      curpos = myPntAttach.Translated(transvec);;
+      curpos = myPntAttach.Translated(transvec);
       myPosition = curpos;
       myAutomaticPosition = Standard_True;
   }
index c42c482952af2df66e42a923e68e7099c1dcf217..0c339be9f50bb7a85b9b2a8f314ab06ab9f7b055 100644 (file)
@@ -92,7 +92,7 @@ Aspect_TypeOfLine AIS_GraphicTool::GetLineType (const Handle(Prs3d_Drawer)& Dr,
                                 const AIS_TypeOfAttribute Att)
 {
   Handle(Prs3d_LineAspect) LA = GetLineAspect(Dr,Att);
-  return LA->Aspect()->Type();;
+  return LA->Aspect()->Type();
 }
 
 
index b8cc46c569fff362aedc03fa751677e6a382083f..68d469fec07005e52ae7dcf0a96f9864e9e3a182 100644 (file)
@@ -560,7 +560,7 @@ void AIS_IdenticRelation::ComputeTwoLinesPresentation(const Handle(Prs3d_Present
       gp_Pln pln(myPlane->Pln());
       gp_Dir dir(pln.XAxis().Direction());
       gp_Vec transvec = gp_Vec(dir)*myArrowSize;
-      curpos = myFAttach.Translated(transvec);;
+      curpos = myFAttach.Translated(transvec);
       myPosition = curpos;
       myAutomaticPosition = Standard_True;
     }
index 11999798fd3f8db9e9416394ff259cfad50eddd2..f53dc9df1d2cbe18f0d7ad6085803d026196e5de 100644 (file)
@@ -30,7 +30,8 @@
 #include <V3d_View.hxx>
 #include <Standard_Version.hxx>
 #include <Standard_DefineHandle.hxx>
-NCOLLECTION_HSEQUENCE(AIS_ManipulatorObjectSequence, Handle(AIS_InteractiveObject));
+
+NCOLLECTION_HSEQUENCE(AIS_ManipulatorObjectSequence, Handle(AIS_InteractiveObject))
 
 DEFINE_STANDARD_HANDLE (AIS_Manipulator, AIS_InteractiveObject)
 
index de74f89345e6a712417219579d3cae0192e65ac8..ed0f42498d038d5b962923989c0871a678deb68f 100644 (file)
@@ -168,7 +168,7 @@ void AIS_OffsetDimension::ComputeSelection(const Handle(SelectMgr_Selection)& aS
   gp_Pnt myTSAttach = mySAttach.Transformed (myRelativePos);
   gp_Dir myTDirAttach = myDirAttach.Transformed (myRelativePos);
   gp_Dir myTDirAttach2 = myDirAttach2.Transformed (myRelativePos);
-  gp_Pnt Tcurpos = myPosition.Transformed (myRelativePos);;
+  gp_Pnt Tcurpos = myPosition.Transformed (myRelativePos);
 
   gp_Lin L1 (myTFAttach,myTDirAttach);
   gp_Lin L2 (myTSAttach,myTDirAttach2);
index 16e5dc412fec7aef25069d8595d055cedd98edc9..f5251eea7fe7a3174e420ca1b79f4272dbc645ea 100644 (file)
@@ -530,7 +530,7 @@ gp_Circ2d Adaptor2d_OffsetCurve::Circle() const
 gp_Elips2d Adaptor2d_OffsetCurve::Ellipse() const
 {
   if (myCurve->GetType() == GeomAbs_Ellipse && myOffset == 0.) {
-    return myCurve->Ellipse();;
+    return myCurve->Ellipse();
   }
   else {
     throw Standard_NoSuchObject("Adaptor2d_OffsetCurve:Ellipse");
index c22fc527114398f3dc44e1876957d8d251ba57dd..81319ac31b4b47522e997c39b35fcc6999fea5ce 100644 (file)
@@ -540,7 +540,7 @@ Standard_Boolean  Adaptor3d_TopolTool::IsThePointOn(const gp_Pnt2d& P,
     if (surumin || survmin || surumax || survmax) {
       return(Standard_True);
     }
-    return(Standard_False);;
+    return Standard_False;
   }
 }
 
index 591a063487c860505c639f07882e2bdd8e5f35ad..e9926b4b344d26a747c4a813f91ef9311416fb54 100644 (file)
@@ -374,7 +374,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
       Standard_Real Uf = F.Parameter(Lin->Point(1));
       Standard_Real Ul = F.Parameter(Lin->Point(NbPoint))-Uf;
       for (i=2; i<NbPoint; i++) {
-       theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;;
+       theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;
       }
       AppDef_Compute theAppDef(theParams,dmin,dmax,tol3d,tol2d,nbit,
                                 Standard_True, Standard_True);
@@ -426,7 +426,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
        Standard_Real Uf = F.Parameter(Lin->Point(1));
        Standard_Real Ul = F.Parameter(Lin->Point(NbPoint))-Uf;
        for (i=2; i<NbPoint; i++) {
-         theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;;
+         theParams(i) = (F.Parameter(Lin->Point(i))-Uf)/Ul;
        }
 
        theapprox.Init(dmin,dmax,tol3d,tol2d,nbit,Standard_True,
index d44d5555917b7127a71d4c567fa3e3aa148849c8..a69cb654020c4732dc2d2a472d39bbd85afd0241 100644 (file)
@@ -452,7 +452,7 @@ AppCont_LeastSquare::AppCont_LeastSquare(const AppCont_Function&       SSP,
       myDone = Standard_True;
       for (i = bdeb; i <= bfin; i++) {
         for (j = bdeb; j <= bfin; j++) {
-          IBPij = IBP(i, j);;
+          IBPij = IBP(i, j);
           for (k = 1; k<= nbcol; k++) {
             myPoles(i, k)   += IBPij * B2(j, k);
           }
index 198754708440e5d721bbca1e58ce45233d8b14ac..f60c640e3a9487c59471d85ae3681473037a2a1d 100644 (file)
@@ -65,7 +65,7 @@ void AppParCurves::Bernstein(const Standard_Integer NbPoles,
                             math_Matrix& DA) {
   
   Standard_Integer i, j, id, Ndeg = NbPoles-1;
-  Standard_Real u0, u1, y0, y1, xs, bj, bj1;;
+  Standard_Real u0, u1, y0, y1, xs, bj, bj1;
   Standard_Integer first = U.Lower(), last = U.Upper();
   math_Vector B(1, NbPoles-1);
 
index 38ccd4e2fde4079b313db589a1c96be6db574894..ac24dfcf959de42bbe8a9d7a10908e4aed1966a8 100644 (file)
@@ -1272,7 +1272,7 @@ const AppParCurves_MultiBSpCurve& AppParCurves_LeastSquare::BSplineValue()
 {
   if (!done) {throw StdFail_NotDone();}
 
-  Standard_Integer i, j, j2, npoints = nbP+nbP2d;;
+  Standard_Integer i, j, j2, npoints = nbP+nbP2d;
   gp_Pnt Pt;
   gp_Pnt2d Pt2d;
   Standard_Integer ideb = resinit, ifin = resfin;
index f5b080c848d1abf3f6ec7e03d9336f7fbd658987..54a8b569e2eea89b32ec506138dbe5573c3406d9 100644 (file)
@@ -462,7 +462,7 @@ void Approx_SameParameter::Build(const Standard_Real Tolerance)
     myC3d->D0(pc3d[ii],Pc3d);
     dist2 = Pcons.SquareDistance(Pc3d);
     use_parameter = (dist2 <= Tol2  && (pc3d[ii] > pc3d[count-1] + deltamin)) ;
-    Standard_Real aDistMin = RealLast();;
+    Standard_Real aDistMin = RealLast();
     if(use_parameter) {
 
       if(dist2 > dmax2) dmax2 = dist2;
index 803f8ba2f8adac9b118e486d6d15cf2f30466dc8..6b92221f4aeb507b1de3f8c02639f006127e0a79 100644 (file)
@@ -813,7 +813,7 @@ void CorrectEdgeTolerance (const TopoDS_Edge& myShape,
   {
     if (myCref.IsNull()) 
       return;
-    Standard_Boolean ok=Standard_True;;
+    Standard_Boolean ok = Standard_True;
 
     Handle(BRep_TEdge)& TE = *((Handle(BRep_TEdge)*)&myShape.TShape());
     Standard_Real Tol = BRep_Tool::Tolerance(TopoDS::Edge(myShape));
index f01b28b219e81ebc0ed7cb77de8fa9d5deb24977..c12f4100905eecd79da5001ea8fd8b0216c3edc0 100644 (file)
@@ -361,7 +361,7 @@ static void BuildFaceIn(  TopoDS_Face& F,
       else {
         TopoDS_Shape aLocalShape  = Faces.First().EmptyCopied();
         TopoDS_Face NF = TopoDS::Face(aLocalShape);
-        // TopoDS_Face NF = TopoDS::Face(Faces.First().EmptyCopied());;
+        // TopoDS_Face NF = TopoDS::Face(Faces.First().EmptyCopied());
         B.Add        (NF,WI);
         Faces.Append (NF);
         BuildFaceIn (NF, WI, KeyContains, KeyIsIn, TopAbs_FORWARD,Faces);
index 9d86a61ae3c18e9322c760510b6bdb3bcb3d7462..969b9be10ded2a99a5c2b6d7ec30a29d21d3685d 100644 (file)
@@ -280,7 +280,7 @@ void BRepAlgoAPI_DumpOper::Dump(const TopoDS_Shape& theShape1,
     fprintf(afile,"%s\n","# Result is Null ");
   
   fprintf(afile, "%s %s %s\n","restore",  aName1.ToCString(), "arg1");
-  fprintf(afile, "%s %s %s\n","restore",  aName2.ToCString(), "arg2");;
+  fprintf(afile, "%s %s %s\n","restore",  aName2.ToCString(), "arg2");
   TCollection_AsciiString aBopString;
   switch (theOperation)
   {
index c80e52dcd84f016a33e2a553ca344e4ee4ccd499..e20f37621d2af09694a5e1623cb59971ec753533 100644 (file)
@@ -878,7 +878,7 @@ Standard_Boolean BRepBlend_SurfRstConstRad::Section
   
   gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
   gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
-  gp_Vec ncrossns;;
+  gp_Vec ncrossns;
   gp_Vec resulu,resulv,temp,tgct,resul;
   gp_Vec d1urst,d1vrst;
   gp_Pnt Center,bid;
index e91a0b571f2a9a419b7207eaa720ac77e109bf90..ed7a94c0f37d660902e37cbedf7952e6550b21f7 100644 (file)
@@ -887,7 +887,7 @@ TColStd_Array1OfReal& DWeigths)
   
   gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
   gp_Vec ns,ns2,dnplan,dnw,dn2w;//,np2,dnp2;
-  gp_Vec ncrossns;;
+  gp_Vec ncrossns;
   gp_Vec resulu,resulv,temp,tgct,resul;
   gp_Vec d1urst,d1vrst;
   gp_Pnt Center,bid;
index 6aa8c2dd49845827fd3030ee4f6178010b14e307..1809948617b342f5b717f8c82f258e2916e2e5da 100644 (file)
@@ -653,7 +653,7 @@ Standard_Boolean IsModifySize(const BRepAdaptor_Surface& theBS,
   {
     if(anExtr.NbExt() > 0)
     {
-      Standard_Integer i, imin = 0;;
+      Standard_Integer i, imin = 0;
       Standard_Real dmin = RealLast();
       Standard_Real uextr = 0., vextr = 0.;
       Extrema_POnSurf P1, P2;
index 09e7ec88580a72c6ae9002f97ff82e9893212b1a..7f3d843b0f169d8b36f8a806b501184e7a0a5787 100644 (file)
@@ -676,7 +676,7 @@ Standard_OStream& BRepFeat::Print(const BRepFeat_StatusError se,
     break;
   case BRepFeat_EmptyCutResult :
     s << "Failure in Cut : Empty resulting shape";
-    break;;
+    break;
   case BRepFeat_FalseSide :
     s << "Verify plane and wire orientation";
     break;
index c5563e74a87521b4e5d15fb646cb77588d01b804..2d7f74b36fe471ca2163d8e084d855f83421a497 100644 (file)
@@ -434,7 +434,7 @@ TopoDS_Face BRepFill_Pipe::Face(const TopoDS_Edge& ESpine,
 TopoDS_Edge BRepFill_Pipe::Edge(const TopoDS_Edge&   ESpine,
                                const TopoDS_Vertex& VProfile)
 {
-  Standard_Integer ii, ispin = 0, iprof = 0, count = 0;;
+  Standard_Integer ii, ispin = 0, iprof = 0, count = 0;
 
   // *************************************************
   // Search if VProfile is a Vertex of myProfile
index 0169c813f9c349d2978542f99816bceb1103d0e5..61fb51c77eaad4a305c798358579cd335442454a 100644 (file)
@@ -1619,7 +1619,7 @@ static void UpdateEdge(TopoDS_Edge& E,
 
   // Control direction & Range
   Standard_Real R, First, Last, Tol=1.e-4;
-  Standard_Boolean reverse = Standard_False;;
+  Standard_Boolean reverse = Standard_False;
   
 
 // Class BRep_Tool without fields and without Constructor :
index 8046062ce58455a0fbd3887a7769a03bbc96ed03..fdbd36201316ccb6d5db1fc0a89c8d079d42a513 100644 (file)
@@ -468,7 +468,7 @@ Standard_Boolean BRepLib_MakeFace::IsDegenerated(
   else if (Type == GeomAbs_BezierCurve) {
     Handle(Geom_BezierCurve) BZ = AC.Bezier();
     Standard_Integer NbPoles = BZ->NbPoles();
-    Standard_Real aMaxPoleDist2 = 0.0, aMaxTol2 = theMaxTol*theMaxTol;;
+    Standard_Real aMaxPoleDist2 = 0.0, aMaxTol2 = theMaxTol*theMaxTol;
     gp_Pnt P1,P2;
     P1 = BZ->Pole(1);
     for (Standard_Integer i = 2; i <= NbPoles; i++) {
index 761dabdcf2ff15f00971f5e3710b1756b1e60aa4..44b1a8b027d96ab532ad467837b359fcbc090c54 100644 (file)
@@ -610,7 +610,7 @@ void BRepMesh_Delaun::createTrianglesOnNewVertices(
 //=======================================================================
 void BRepMesh_Delaun::insertInternalEdges()
 {
-  Handle(IMeshData::MapOfInteger) anInternalEdges = InternalEdges();;
+  Handle(IMeshData::MapOfInteger) anInternalEdges = InternalEdges();
 
   // Destruction of triancles intersecting internal edges 
   // and their replacement by makeshift triangles
index 2441b581ad1eed054c147d89098987a20cb311be..e5c4877411b29421cb47acc82e38254a6c3afacb 100644 (file)
@@ -296,7 +296,7 @@ void BRepOffset_Inter3d::ConnexIntByArc(const TopTools_ListOfShape& /*SetOfFaces
       //---------------------------
       // E1 generated a tube.
       //---------------------------
-      F1 = TopoDS::Face(InitOffsetFace.Image(E1).First());;
+      F1 = TopoDS::Face(InitOffsetFace.Image(E1).First());
       TopExp::Vertices(E1,V[0],V[1]);
       const TopTools_ListOfShape& AncE1 = Analyse.Ancestors(E1);
       
index e8e528f5adab5a854614997c805ae6bf566a0709..0593cdff01a67506eb27f7ae00f4408fe4e10dda 100644 (file)
@@ -609,7 +609,7 @@ static Standard_Integer setsweep(Draw_Interpretor& di,
       return 1;
     }
     gp_Dir D(Draw::Atof(a[2]), Draw::Atof(a[3]), Draw::Atof(a[4]));
-    Sweep->SetMode(D);;
+    Sweep->SetMode(D);
   }
   else if (!strcmp(a[1], "-FX")) {
     if ((n != 5) && (n != 8)) {
index bae07913077e7c8b2f2b78c3aa4d9cb6a031fd36..acc44d02afba3f30c60a723eb72e45ef3c7ea3bd 100644 (file)
@@ -2216,7 +2216,7 @@ void BiTgte_Blend::ComputeSurfaces()
        if (OF2isEdge) { // Update CutEdges.
          exp.Next();
          const TopoDS_Edge& EOnF2 = TopoDS::Edge(exp.Current());
-         TopExp::Vertices(EOnF2,V1,V2);;
+         TopExp::Vertices(EOnF2,V1,V2);
 
          gp_Pnt P1 = BRep_Tool::Pnt(V1);
          Projector.Init(P1,GC2);
index a02f71717e5aa9803cfc244f64baa68b21146d7d..9530abc5c2e04d1c0aff0c22d2012c729f36ba05 100644 (file)
@@ -136,7 +136,7 @@ Standard_IStream& BinTools::GetShortReal (Standard_IStream& theIS,
 Standard_IStream& BinTools::GetInteger(Standard_IStream& IS, Standard_Integer& aValue)
 {
   if(!IS.read ((char*)&aValue, sizeof(Standard_Integer)))
-    throw Storage_StreamTypeMismatchError();;
+    throw Storage_StreamTypeMismatchError();
 #if DO_INVERSE
   aValue = InverseInt (aValue);
 #endif
@@ -151,7 +151,7 @@ Standard_IStream& BinTools::GetInteger(Standard_IStream& IS, Standard_Integer& a
 Standard_IStream& BinTools::GetExtChar(Standard_IStream& IS, Standard_ExtCharacter& theValue)
 {
   if(!IS.read ((char*)&theValue, sizeof(Standard_ExtCharacter)))
-    throw Storage_StreamTypeMismatchError();;
+    throw Storage_StreamTypeMismatchError();
 #if DO_INVERSE
   theValue = InverseExtChar (theValue);
 #endif
index 79dab497773e02b20bf39331398377078861dbb7..cb63dc768397d3dd51ce6ab8c8e0abac14e24c48 100644 (file)
@@ -677,12 +677,12 @@ static Standard_Boolean  IsMaxRC (const Handle(Geom2d_Curve)& C,
   Standard_Real Norm2;
 
   C->D2(US,P,D1,D2);
-  Norm2 = D1.SquareMagnitude();;
+  Norm2 = D1.SquareMagnitude();
   if (Norm2 < gp::Resolution()) { KF = 0.0;}
   else                          { KF = Abs(D1^D2)/(Norm2*sqrt(Norm2));}
 
   C->D2(UL,P,D1,D2);
-  Norm2 = D1.SquareMagnitude();;
+  Norm2 = D1.SquareMagnitude();
   if (Norm2 < gp::Resolution()) { KL = 0.0;}
   else                          { KL = Abs(D1^D2)/(Norm2*sqrt(Norm2));}
 
index f437963d581872eba8bb6fb4c7a32ef31dcb9b54..e940e9b10acb6703a69a7a774b09ce3a298c69e7 100644 (file)
@@ -558,7 +558,7 @@ static Standard_Real Curvature (const Handle(Geom2d_Curve)& C,
   gp_Vec2d      D1,D2;
   gp_Pnt2d      P;
   C->D2(U,P,D1,D2);
-  Standard_Real Norm2 = D1.SquareMagnitude();;
+  Standard_Real Norm2 = D1.SquareMagnitude();
   if (Norm2 < Tol) {
     K1 = 0.0;
   }
index 3b746cc138fa6d26c89b9e962936860cfdd10aad..fa0c7f0c4c8c251119968c50bee93646bc758fd9 100644 (file)
@@ -452,7 +452,7 @@ static Standard_Real Curvature (const Handle(Geom2d_Curve)& C,
   gp_Vec2d      D1,D2;
   gp_Pnt2d      P;
   C->D2(U,P,D1,D2);
-  Standard_Real Norm2 = D1.SquareMagnitude();;
+  Standard_Real Norm2 = D1.SquareMagnitude();
   if (Norm2 < Tol) {
     K1 = 0.0;
   }
index 5241213cebd2f071e47b6f95555ec1c078f2f3a2..a83a177d3c1b04dabf29cf6c69b4c0e72e24b421 100644 (file)
@@ -730,7 +730,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
                      previousP.Parameter(),tolesp);
        Ext2.SetValue(previousP.PointOnS2(),
                      sol(3),sol(4),
-                     previousP.Parameter(),tolesp);;
+                     previousP.Parameter(),tolesp);
        if (!previousP.IsTangencyPoint()) {
          Ext1.SetTangent(previousP.TangentOnS1());
          Ext2.SetTangent(previousP.TangentOnS2());
index a7aba14bbf6effd174817b75f1e8df0611c5e3ac..659446b7125592f659df6e43e9cf56ee208a9d75 100644 (file)
@@ -901,12 +901,12 @@ Standard_Boolean BlendFunc_CSCircular::Section
 {
   gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1,d2;
   gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
-  gp_Vec ncrossns;;
+  gp_Vec ncrossns;
   gp_Vec resulu,resulv,temp,tgct,resul;
 
   gp_Pnt Center;
 
-  Standard_Real norm,ndotns,grosterme;;
+  Standard_Real norm,ndotns,grosterme;
 
   math_Vector sol(1,2),valsol(1,2),secmember(1,2);
   math_Matrix gradsol(1,2,1,2);
index 26e033a9c7750e687938b959e96644cf9a77d2bc..714099bc3d2ea3077ed17e32724a22e80bdcd3ac 100644 (file)
@@ -875,7 +875,7 @@ Standard_Boolean BlendFunc_CSConstRad::Section
 
   gp_Vec d1u1,d1v1,d2u1,d2v1,d2uv1,d1;
   gp_Vec ns,ns2,dnplan,dnw,dn2w; //,np2,dnp2;
-  gp_Vec ncrossns;;
+  gp_Vec ncrossns;
   gp_Vec resulu,resulv,temp,tgct,resul;
 
   gp_Pnt Center;
index 27c2260ca70b3d9b0e920c0241e8ee82ab35a8cb..9b5a054aac991372632a93756f08eedc00cf7451 100644 (file)
@@ -99,7 +99,7 @@ Standard_Boolean BlendFunc_ConstThroatInv::IsSolution(const math_Vector& Sol, co
       Abs(valsol(4)) <= Tol*Tol)
     return Standard_True;
 
-  return Standard_False;;
+  return Standard_False;
 }
 
 //=======================================================================
index 7c0ad100e4c097ddfe0092bffd073b95ad72138a..28e854ef7d23a8ea0753485ed0cc3e2c181e3e30 100644 (file)
@@ -52,7 +52,7 @@ Standard_Boolean BlendFunc_ConstThroatWithPenetrationInv::IsSolution(const math_
       Abs(valsol(4)) <= Tol)
     return Standard_True;
 
-  return Standard_False;;
+  return Standard_False;
 }
 
 //=======================================================================
index 895c70329f1a2ff34f321ab7e05b4ad5563ae65b..e8892cf15d2250c985538154c67fb6cd9abdbc40 100644 (file)
@@ -310,7 +310,7 @@ Standard_OStream& operator << (Standard_OStream& anOStream);
   //! A  referenced  document  may  indicate   through  this
   //! virtual  method that it does  not allow the closing of
   //! aDocument  which  it references through  the reference
-  //! aReferenceIdentifier. By default returns Standard_True;;
+  //! aReferenceIdentifier. By default returns Standard_True.
   Standard_EXPORT virtual Standard_Boolean CanCloseReference (const Handle(CDM_Document)& aDocument, const Standard_Integer aReferenceIdentifier) const;
   
   //! A referenced document may update its internal
index d03784b98d3b22f5721746b7de317f6c83a6aa44..a86bef81617e00c7883a2fc56d64c7abb0d6db3e 100644 (file)
@@ -2311,7 +2311,7 @@ void  ChFi3d_FilDS(const Standard_Integer       SolidIndex,
           Standard_Integer IArcspine = DStr.AddShape(Arcspine);
           Standard_Integer IVtx = CorDat->IndexFirstPointOnS1();
 
-          TopAbs_Orientation OVtx = TopAbs_FORWARD;;
+          TopAbs_Orientation OVtx = TopAbs_FORWARD;
 
           for(ex.Init(Arcspine.Oriented(TopAbs_FORWARD),TopAbs_VERTEX); 
             ex.More(); ex.Next()) {
index 7f6d9a29e4a3b5f6304ef616ed8c23b2b3b18058..369d4dcd7a80ee999d9a1d05b78b8cad4b8fbc58 100644 (file)
@@ -803,7 +803,7 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
 #endif
 
   TopoDS_Edge edgecouture;
-  Standard_Boolean couture,intcouture=Standard_False;;
+  Standard_Boolean couture,intcouture=Standard_False;
   Standard_Real tolreached = tolesp;
   Standard_Real  par1 =0.,par2 =0.;
   Standard_Integer indpt = 0,Icurv1 = 0,Icurv2 = 0;
@@ -3990,7 +3990,7 @@ void ChFi3d_Builder::IntersectMoreCorner(const Standard_Integer Index)
 #endif
 
   TopoDS_Edge edgecouture;
-  Standard_Boolean couture,intcouture=Standard_False;;
+  Standard_Boolean couture,intcouture=Standard_False;
   Standard_Real tolreached = tolesp;
   Standard_Real par1 = 0.,par2 = 0.;
   Standard_Integer indpt =0,Icurv1 =0,Icurv2 =0;
index 16270f3493e2e13cfd590f849175030d6f09b18c..912441c93dbebe389c092c56d2661a5887ba18ba 100644 (file)
@@ -344,8 +344,10 @@ void  ChFi3d_ChBuilder::Add(const Standard_Real Dis1,
     Spine->SetMode(myMode);
     Standard_Real Offset = -1;
     if (myMode == ChFiDS_ConstThroatWithPenetrationChamfer)
-      Offset = Min(Dis1,Dis2);;
-    
+    {
+      Offset = Min(Dis1,Dis2);
+    }
+
     Spine->SetEdges(E_wnt);
     if(PerformElement(Spine, Offset, F)){
       Spine->Load();
index c3020493bed3bd2cd540c4567940df5f125999e3..1f9573c049196e46176416950a211d43980e796c 100644 (file)
@@ -1461,7 +1461,7 @@ void  ChFi3d_FilBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&          SeqData
                                     const Standard_Boolean              RecRst,
                                     const math_Vector&                  Soldep)
 {
-  Handle(ChFiDS_SurfData) Data = SeqData(1);;
+  Handle(ChFiDS_SurfData) Data = SeqData(1);
   Handle(ChFiDS_FilSpine) fsp = Handle(ChFiDS_FilSpine)::DownCast(Spine);
   if(fsp.IsNull()) throw Standard_ConstructionError("PerformSurf : this is not the spine of a fillet");
   Handle(BRepBlend_Line) lin;
@@ -1577,7 +1577,7 @@ void  ChFi3d_FilBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&          SeqData
                                     const Standard_Boolean              RecRst2,
                                     const math_Vector&                  Soldep)
 {
-  Handle(ChFiDS_SurfData) Data = SeqData(1);;
+  Handle(ChFiDS_SurfData) Data = SeqData(1);
   Handle(ChFiDS_FilSpine) fsp = Handle(ChFiDS_FilSpine)::DownCast(Spine);
   if(fsp.IsNull()) throw Standard_ConstructionError("PerformSurf : this is not the spine of a fillet");
   Handle(BRepBlend_Line) lin;
index 9e24dd1f0cdd89b3940a51363cfa30a16b142ea4..54dd87b4b7b4be922961a160c1312e4bd1d9a76a 100644 (file)
@@ -1421,7 +1421,7 @@ static Standard_Integer DDataStd_KeepUTF (Draw_Interpretor& di,
 #endif
     if (!anIS) {
       // Can not open file
-      std::cout << "Error: can't open file " << aFileName <<std::endl;;
+      std::cout << "Error: can't open file " << aFileName <<std::endl;
       return 1;
     }
     char buf[1024];
@@ -3403,7 +3403,7 @@ static Standard_Integer DDataStd_GetNDIntegers (Draw_Interpretor& di,
       TCollection_ExtendedString aKey(itr.Key());
       TCollection_AsciiString aStr(aKey,'?');
       Standard_Integer aValue = itr.Value();
-       std::cout << "Key = "  << aStr.ToCString() << " Value = " <<aValue<<std::endl;;
+       std::cout << "Key = "  << aStr.ToCString() << " Value = " <<aValue<<std::endl;
       }
 
     return 0; 
@@ -3469,7 +3469,7 @@ static Standard_Integer DDataStd_SetNDataReals (Draw_Interpretor& di,
     if(!aLabel.FindAttribute(TDataStd_NamedData::GetID(), anAtt))
       anAtt = TDataStd_NamedData::Set(aLabel);
     if(anAtt.IsNull()) {
-      std::cout << "NamedData attribute is not found or not set"  << std::endl;;
+      std::cout << "NamedData attribute is not found or not set"  << std::endl;
       return 1;}
   
     j = 4;
index 62ccf4fb11877f4c76bd63230b86b89d8e1491b8..34fac0d5bf50192c5c4494a9b06cde7b18e657fe 100644 (file)
@@ -696,7 +696,10 @@ void Draw_Viewer::PostColor(const Standard_Integer icol,
 Standard_Boolean Draw_Viewer::SaveView(const Standard_Integer id,
                                        const char* filename)
 {
-  if (Draw_Batch) return Standard_False;;
+  if (Draw_Batch)
+  {
+    return Standard_False;
+  }
   Flush();
   if (myViews[id]) {
     return myViews[id]->Save(filename);
index f096767e677dda1ea3d1e729a1d460cfe88f05b5..fc2aa8fe51c1abe25358bd5ba4c6256c88fdaa83 100644 (file)
@@ -2496,6 +2496,6 @@ void DrawWindow::SelectNoWait(HANDLE& hWnd, int& x, int& y, int& button)
 Standard_Boolean DrawWindow::DefineColor (const Standard_Integer, const char*)
 {
   return Standard_True;
-};
+}
 
 #endif
index f3a188999122ceef9d61d3a9fa1b4fb3d51c2718..7c651f4e1ed35bb0f6dbefca1cb3e91b68867b52 100644 (file)
@@ -232,7 +232,7 @@ TCollection_AsciiString Expr_Sum::String() const
   if (op->NbSubExpressions() > 1) {
     str = "(";
     str += op->String();
-    str += ")";;
+    str += ")";
   }
   else {
     str = op->String();
@@ -243,7 +243,7 @@ TCollection_AsciiString Expr_Sum::String() const
     if (op->NbSubExpressions() > 1) {
       str += "(";
       str += op->String();
-      str += ")";;
+      str += ")";
     }
     else {
       str += op->String();
index ab2c0576e7a8549f75d0316cf7bdb4e19967c657..a484ab175e9ccbbb94f969d545fd467873ff8746 100644 (file)
@@ -125,6 +125,6 @@ TCollection_AsciiString Expr_UnaryFunction::String() const
   TCollection_AsciiString res = myFunction->GetStringName();
   res += "(";
   res += Operand()->String();
-  res += ")";;
+  res += ")";
   return res;
 }
index ac8725e65f3a19a0f7476b7cd8da249919d34598..5d53443837eedff5b5ce662031a4f33f461471bc 100644 (file)
@@ -602,7 +602,7 @@ FilletSurf_StatusType  FilletSurf_InternalBuilder::StartSectionStatus() const
    Standard_Boolean isonedge1 = myListStripe.First()->SetOfSurfData()->Value(1)->
                                 VertexFirstOnS1().IsOnArc();
    Standard_Boolean isonedge2=  myListStripe.First()->SetOfSurfData()->Value(1)->
-                                VertexFirstOnS2().IsOnArc();;
+                                VertexFirstOnS2().IsOnArc();
 
   if (isonedge1 && isonedge2) 
   {return FilletSurf_TwoExtremityOnEdge;}
index d1ad58bf9691674f55047268474d3d644b4fa722..9d226bbf500a3728056bdf7884bddbe287f36435 100644 (file)
@@ -42,7 +42,6 @@ IMPLEMENT_STANDARD_RTTIEXT(Font_FontMgr,Standard_Transient)
 
   namespace
   {
-
     // list of supported extensions
     static Standard_CString Font_FontMgr_Extensions[] =
     {
@@ -51,8 +50,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Font_FontMgr,Standard_Transient)
       "ttc",
       NULL
     };
-
-  };
+  }
 
 #else
 
index 6dc567ef7b5e03aca771dd85790dca700bc6aac9..bab390c90626de15006af3127f032a0ccdc25656 100644 (file)
@@ -446,7 +446,7 @@ GccAna_Circ2d2TanRad::
       WellDone = Standard_True;
       NbrSol = 1;
       TheSame1(1) = 0;
-      qualifier1(1) = Qualified1.Qualifier();;
+      qualifier1(1) = Qualified1.Qualifier();
       qualifier2(1) = Qualified2.Qualifier();
       pnttg1sol(1)=gp_Pnt2d(Cen.XY()+cote*Radius*gp_XY(ydir,-xdir));
       pnttg2sol(1)=gp_Pnt2d(Cen.XY()+Radius*gp_XY(ydir,-xdir));
index 203a9e47853a7f0254d454c561fd8fa3fdcd9285..53e94cedbbef4c5f4a328018c1167c2c65868e17 100644 (file)
@@ -1006,7 +1006,7 @@ Geom2dGcc_Circ2d2TanOnIter (const GccEnt_QualifiedCirc& Qualified1 ,
                               tol(1) = 2.e-15*M_PI;
                               tol(2) = Geom2dGcc_CurveTool::EpsX(Cu2,Abs(Tolerance));
                               tol(3) = Geom2dGcc_CurveTool::EpsX(OnCurv,Abs(Tolerance));
-                              tol(4) = Tol/10.;;
+                              tol(4) = Tol/10.;
                               gp_Pnt2d point1 = ElCLib::Value(Param1,C1);
                               gp_Pnt2d point2 = Geom2dGcc_CurveTool::Value(Cu2,Param2);
                               gp_Pnt2d point3 = Geom2dGcc_CurveTool::Value(OnCurv,ParamOn);
index a00e9a65519e347bb0ee1b9deb08194e9cef6804..85afec1aed4a830b7e8e773d40657241d325deb3 100644 (file)
@@ -114,7 +114,7 @@ Standard_Boolean verifD2(const TColgp_Array1OfVec& DP1,
                          const Standard_Real wTol,
                          const Standard_Real pas)
 {
-  Standard_Boolean ok = Standard_True;;
+  Standard_Boolean ok = Standard_True;
   Standard_Integer ii, L =  DP1.Length();
   Standard_Real d2w;
   gp_Vec d2P;
index cc1b9708f99d1db17c4861e1963a664a4d187f9a..6e8ce1426c97712c573b58274c28d2653803580a 100644 (file)
@@ -812,7 +812,7 @@ static Standard_Boolean IsSweepParallelSpine (const Handle(GeomFill_LocationLaw)
       if ((SectionType == GeomAbs_Circle) && IsTrsf) {
        gp_Circ C = AC.Circle();
         Standard_Real Radius;
-       Standard_Boolean IsGoodSide = Standard_True;;
+       Standard_Boolean IsGoodSide = Standard_True;
        C.Transform(Tf2);
        gp_Vec DC;
         // On calcul le centre eventuel
index 6d730ef13296b7dcd4d8decc61c182112c782567..507db23b7991e2042618244151567f1fa5ac7823 100644 (file)
@@ -1013,7 +1013,7 @@ Disc3dContour (const Standard_Integer /*nbp*/,
   for(i=1; i<=NTCurve; i++) 
     if (myLinCont->Value(i)->Order()!=-1) 
       
-      { Standard_Integer NbPt=myParCont->Value(i).Length();;
+      { Standard_Integer NbPt=myParCont->Value(i).Length();
        // first constraint point (j=0)
        // Standard_Integer NbPt=myParCont->Length();
        if (iordre==0) {
index 01fd76e0395738a405a1e95c3c0926ce957b31b1..423ceed56dc0ecfa2d5eedba44139dbbe2539b24 100644 (file)
@@ -501,7 +501,7 @@ Handle(IGESData_IGESEntity) GeomToIGES_GeomCurve::TransferCurve
   if (start.IsNull()) {
     return res;
   }
-  Handle(IGESGeom_CircularArc) Circle = new IGESGeom_CircularArc;;
+  Handle(IGESGeom_CircularArc) Circle = new IGESGeom_CircularArc();
   IGESConvGeom_GeomBuilder Build;
   
   Standard_Real U1 = Udeb;
index 89225a9a0f497d7b2d879db75c3f74d003ff96fe..c8a72a9e62c14de6947e01238530bce1a2144dd5 100644 (file)
@@ -251,7 +251,7 @@ void  IGESAppli_ToolNodalDisplAndRot::OwnDump
       for (Standard_Integer j = 1; j <= nbnodes; j ++)
        {
          S << "[" << j << "]:  -  NodeIdentifier : "
-           << ent->NodeIdentifier(j) << "  -  Node :"<<Message_EndLine; ;
+           << ent->NodeIdentifier(j) << "  -  Node :"<<Message_EndLine;
          S << "Node : ";
          dumper.Dump (ent->Node(j),S, 1);
          S << "  -  Parameters : " << Message_EndLine;
index 23d91152c5a6969d3deb47a34f031b7ab744ea6e..b5769bfb843c451e00be71c01c60193b9e3fb246 100644 (file)
@@ -333,7 +333,7 @@ IGESData_IGESReaderTool::IGESData_IGESReaderTool
    const Handle(IGESData_IGESReaderData)& IR,
    IGESData_ParamReader& PR) const 
 {
-  Handle(Interface_Check) ach = new Interface_Check;;
+  Handle(Interface_Check) ach = new Interface_Check();
   Handle(Interface_ReaderModule) imodule;
   Standard_Integer CN;
   
index e835ea268abc2969b90a11860ae5fc7005145847..e8d06f425538446b1e72ee95e49b4ca67802cce0 100644 (file)
@@ -68,7 +68,7 @@ IGESDraw_Protocol::IGESDraw_Protocol()
     Handle(Interface_Protocol) IGESDraw_Protocol::Resource
   (const Standard_Integer /*num*/) const
 {
-  Handle(Interface_Protocol) res = IGESDimen::Protocol();;
+  Handle(Interface_Protocol) res = IGESDimen::Protocol();
   return res;
 }
 
index 4453ef5a30393bb4d06645b28481a5976fd63a3f..413ef3ed4cf84420bd035a33280816a1d76c10c3 100644 (file)
@@ -86,7 +86,7 @@ IGESGeom_Protocol::IGESGeom_Protocol()
     Handle(Interface_Protocol) IGESGeom_Protocol::Resource
   (const Standard_Integer /*num*/) const
 {
-  Handle(Interface_Protocol) res = IGESBasic::Protocol();;
+  Handle(Interface_Protocol) res = IGESBasic::Protocol();
   return res;
 }
 
index 3b7b89307118091fc59fb43a625902bf05cb2e80..246d40f4b5121a0f07039ff32212ddcde9a6bb6d 100644 (file)
@@ -50,7 +50,7 @@ void IGESGeom_ToolSplineCurve::ReadOwnParams
 
   //Standard_Boolean st; //szv#4:S4163:12Mar99 not needed
   Standard_Integer nbSegments;
-  Standard_Integer aType, aDegree, nbDimensions;;
+  Standard_Integer aType, aDegree, nbDimensions;
   Handle(TColStd_HArray1OfReal) allBreakPoints;
   Handle(TColStd_HArray2OfReal) allXPolynomials;
   Handle(TColStd_HArray2OfReal) allYPolynomials;
index 3343c298e6baff5615a404aba078a9f529f838f6..250a4a3b8769021b998df74bb4d81027d0699102 100644 (file)
@@ -67,7 +67,7 @@ IGESGraph_Protocol::IGESGraph_Protocol()
     Handle(Interface_Protocol) IGESGraph_Protocol::Resource
   (const Standard_Integer /*num*/) const
 {
-  Handle(Interface_Protocol) res = IGESBasic::Protocol();;
+  Handle(Interface_Protocol) res = IGESBasic::Protocol();
   return res;
 }
 
index 1db40fb75e230c7b9cd98515dd4a42a41907fcd8..abd6be3139581d3438a0ada8c3ee96aab4ffd1c3 100644 (file)
@@ -88,7 +88,7 @@ IGESSolid_Protocol::IGESSolid_Protocol()
     Handle(Interface_Protocol) IGESSolid_Protocol::Resource
   (const Standard_Integer /*num*/) const
 {
-  Handle(Interface_Protocol) res = IGESGeom::Protocol();;
+  Handle(Interface_Protocol) res = IGESGeom::Protocol();
   return res;
 }
 
index d37266f5cc79b04a9e081d4ec3a1dc6b4e90e823..dd8466de9a859c2dd6f58b1f1130653a4575f11c 100644 (file)
@@ -62,7 +62,7 @@ void IGESSolid_ToolShell::ReadOwnParams(const Handle(IGESSolid_Shell)& ent,
   // MGE 03/08/98
 
   //Standard_Boolean abool; //szv#4:S4163:12Mar99 moved down
-  Standard_Integer nbfaces=0;; //szv#4:S4163:12Mar99 `i` moved in for
+  Standard_Integer nbfaces=0; //szv#4:S4163:12Mar99 `i` moved in for
   //Handle(IGESSolid_Face) aface; //szv#4:S4163:12Mar99 moved down
   Handle(IGESSolid_HArray1OfFace) tempFaces;
   Handle(TColStd_HArray1OfInteger) tempOrientation;
index 6a0e59aafc3c1e85841918a971c302c2b2a9d1bc..e20a7956903db6942bc14c078a868a5ad5960c90 100644 (file)
@@ -506,12 +506,12 @@ Standard_Integer IntCurveSurface_Polyhedron::TriConnex
       if (colT==(colP+colP)) {
         colT++;
        linO=(ligP>ligE)? ligP : ligE;  //--linO=Max(ligP, ligE);
-       colO=colP+1;;
+       colO=colP+1;
       }
       else {
         colT--;
        linO=(ligP<ligE)? ligP : ligE;  //--linO=Min(ligP, ligE);
-       colO=colP-1;;
+       colO=colP-1;
       }
       break;
     case 3:  // Oblique
index a6beb6f8bf431c3f13e4f39c05c74b5221b88613..f4ffc04ce7cdf4857f4cb907a2811a731c572828 100644 (file)
@@ -466,7 +466,7 @@ void IntPatch_InterferencePolyhedron::Intersect
                  Standard_Real div = dpOeT[iObj][iToo]-dpOeT[inext][iToo];
                  if(div>floatGap || div<-floatGap) { 
                    parO[iObj]=dpOeT[iObj][iToo]/
-                     (dpOeT[iObj][iToo]-dpOeT[inext][iToo]);;
+                     (dpOeT[iObj][iToo]-dpOeT[inext][iToo]);
                    piO=(IntPatch_PolyhedronTool::Point(FirstPol,OI[iObj]).XYZ()) +
                      (voo[iObj]*parO[iObj]);
                  }
index 48f4e8726bf12db3d4e07bba23ef801e8db709ae..c0d9da535afb1596987bb5d6d83c537b6e70862d 100644 (file)
@@ -402,12 +402,12 @@ Standard_Integer IntPatch_Polyhedron::TriConnex (const Standard_Integer Triang,
       if (colT==(colP+colP)) {
         colT++;
        linO=(ligP>ligE)? ligP : ligE;  //--linO=Max(ligP, ligE);
-       colO=colP+1;;
+       colO=colP+1;
       }
       else {
         colT--;
        linO=(ligP<ligE)? ligP : ligE;  //--linO=Min(ligP, ligE);
-       colO=colP-1;;
+       colO=colP-1;
       }
       break;
     case 3:  // Oblique
index 527da5e2329dd152426cead32d92b5ed17a80287..88b0a5288d1eafb3c19e918ec8cdfcc67551639d 100644 (file)
@@ -303,7 +303,7 @@ void IntPolyh_Triangle::MiddleRefinement(const Standard_Integer NumTri,
     T1=FinTT;
     NewTriangle(numP2,numP3,FinTP,TTriangles,MySurface,TPoints);
     FinTT++;
-    T2=FinTT;;
+    T2=FinTT;
     NewTriangle(numP3,numP1,FinTP,TTriangles,MySurface,TPoints);
     FinTT++;
 
index 17def91ce1d231c7c9a8ae6efff5ddd86236491a..a35a87531be125ad41158511e36c5df72973e680 100644 (file)
@@ -141,7 +141,7 @@ Standard_Boolean IntWalk_IWalking::Cadrage
     }
     BornSup(1) = BornInf(1);                     // limit the parameter
     UVap(1) = BornInf(1);
-    UVap(2) += Step*Duvy*StepSign;;
+    UVap(2) += Step*Duvy*StepSign;
     return Standard_True;
   }
   else if (supu) { // jag 940616
index 5f824f067cf02fbb83e8f4a86ca0ae77872aeb34..f312ab3755ca184ef48d67085f0c71e8fa8d0429 100644 (file)
@@ -1769,7 +1769,7 @@ static TopoDS_Edge  NewEdge(const TopoDS_Edge& edg,
     else {
       Vf.Orientation(TopAbs_REVERSED);
       Vl.Orientation(TopAbs_FORWARD);
-      rev = Standard_True;;
+      rev = Standard_True;
     }
 
     B.MakeEdge(NewEdg,Cimg,Precision::Confusion());
index f0444f717c9eb1265f7797f99968022b514b8265..05480e097e88b6f9f8523e4fab30d93074b1242c 100644 (file)
@@ -448,7 +448,7 @@ Standard_Boolean OSD_FileNode::Exists ()
 {
   myError.Reset();
 
- Standard_Boolean        retVal = Standard_False;;
+ Standard_Boolean        retVal = Standard_False;
  TCollection_AsciiString fName;
 
  myPath.SystemName ( fName );
index 4016a70b0e111102bf2d772193851c9d8306677e..c0c1eaf45bebb9c064cd15b7554f954014fa2def 100644 (file)
@@ -452,7 +452,7 @@ void  PLib::RationalDerivative(const Standard_Integer Degree,
        RationalArray[Index] = PolesArray[OtherIndex]; Index++; OtherIndex++;
       }
       Index -= Dimension;
-      OtherIndex ++;;
+      ++OtherIndex;
       
       for (jj = ii - 1 ; jj >= 0 ; jj--) {
        Factor = binomial_array[jj] * PolesArray[(ii-jj) * Dimension1 + Dimension]; 
index 5409cdcffe8acc6d59130fe90a19cac6ab8aa43d..6622ba1171021bdc5fdfc1394fd4e947be98b18e 100644 (file)
@@ -586,7 +586,7 @@ static Standard_Integer OCC394 (Draw_Interpretor& di, Standard_Integer argc, con
   aSfwr->CheckSmallEdges(theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges);
   aSfwr->MergeSmallEdges (theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges, aModeDrop,tolang);
    //aSfwr->FixSmallEdges(); 
-  TopoDS_Shape resShape =  aSfwr->Shape();;
+  TopoDS_Shape resShape = aSfwr->Shape();
   DBRep::Set ( argv[1], resShape );
   return 0;
 }
index b87dfa16e738fff8af803e1d9d791cb0efb39320..7a25f78b30a9849ca764d52f5c771d752f149a12 100644 (file)
@@ -1688,7 +1688,7 @@ static Standard_Integer OCC23951 (Draw_Interpretor& di, Standard_Integer argc, c
     di << "Usage: " << argv[0] << " invalid number of arguments\n";
     return 1;
   }
-  Handle(TDocStd_Document) aDoc = new TDocStd_Document("dummy");;
+  Handle(TDocStd_Document) aDoc = new TDocStd_Document("dummy");
   TopoDS_Shape s1 = BRepPrimAPI_MakeBox(1,1,1).Shape();
   TDF_Label lab1 = XCAFDoc_DocumentTool::ShapeTool (aDoc->Main ())->NewShape();
   XCAFDoc_DocumentTool::ShapeTool (aDoc->Main ())->SetShape(lab1, s1);
index 3d81fbf3f57aee0c6698b6dd77185eef00fa1c5e..6060ac474619e39e18ff46d2d0b812affe085940 100644 (file)
@@ -2716,7 +2716,7 @@ template<typename T> void AllocDummyArr (Draw_Interpretor& theDI, int theN1, int
   
   if (aMem1 > aMem0)
     theDI << "Error: memory increased by " << (int)(aMem1 - aMem0) << " bytes\n";
-};
+}
 
 static Standard_Integer OCC29064 (Draw_Interpretor& theDI, Standard_Integer theArgc, const char** theArgv)
 {
index 0ad3cf5f82bf18d690a4fd447521977649cadaec..975efe28daca449a46d07af3122797302fde3234 100644 (file)
@@ -707,7 +707,7 @@ Standard_Boolean STEPConstruct_ValidationProps::GetPropPnt (const Handle(StepRep
 #ifdef OCCT_DEBUG
     std::cout << "Warning: Point " << Model()->StringLabel ( P )->String() << " is not valid for centroid" << std::endl;
 #endif
-    return Standard_False;;
+    return Standard_False;
   }
 
   gp_Pnt pos ( P->CoordinatesValue(1), P->CoordinatesValue(2), P->CoordinatesValue(3) );
index 1dcd8af02b15e5c6973f8ee137c8109147b6579b..3ec30f92d2ea7ff6d01cd2d83cd161a28c172f72 100644 (file)
@@ -629,7 +629,7 @@ static Standard_Integer fixsmalledges(Draw_Interpretor& di, Standard_Integer n,
   aSfwr->CheckSmallEdges(theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges);
   aSfwr->MergeSmallEdges (theSmallEdges,theEdgeToFaces,theFaceWithSmall, theMultyEdges, aModeDrop,tolang);
    //aSfwr->FixSmallEdges(); 
-  TopoDS_Shape resShape =  aSfwr->Shape();;
+  TopoDS_Shape resShape = aSfwr->Shape();
   DBRep::Set ( a[1], resShape );
   return 0;
 }
index c934aa4b9352b289ab21d351fce242c2e47de45b..fa14cf4261ff413fbcc109c1a18ed213b39bdc3b 100644 (file)
@@ -641,7 +641,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
       /*if(aSurf->IsVPeriodic()) {
 
       Standard_Real aDelta = (VL > VF ? VL - VF : VF - VL );
-      v1 = (aDelta > 2.*M_PI ? 0. : VF + ShapeAnalysis::AdjustByPeriod(VF,0.5*(UL+UF),2*M_PI)); ; 
+      v1 = (aDelta > 2.*M_PI ? 0. : VF + ShapeAnalysis::AdjustByPeriod(VF,0.5*(UL+UF),2*M_PI));
       v2 = (aDelta > 2.*M_PI ? 2.* M_PI : v1 + aDelta); 
       }*/
       if(!aSurf->IsVPeriodic()) {//else 
index abeeff3afab5d65e2dbdeb7bd9c16b794290f17f..4dca08cdef5876c49327ccf840adb83a199d3668 100644 (file)
@@ -202,7 +202,7 @@ Standard_Boolean ShapeFix::SameParameter(const TopoDS_Shape& shape,
         if ( crv.IsNull() )
           continue;
        
-        Handle(Geom2d_Curve) c2d = BRep_Tool::CurveOnSurface ( edge, face, f, l );;
+        Handle(Geom2d_Curve) c2d = BRep_Tool::CurveOnSurface ( edge, face, f, l );
         if ( c2d.IsNull() ) continue;
         Handle(Geom2dAdaptor_HCurve) GHPC = new Geom2dAdaptor_HCurve ( c2d, f, l );
         Adaptor3d_CurveOnSurface ACS(GHPC,AS);
index 3d3709e344b29c204235513c87c37d8b9b78a7f8..c57e0bad8d1df9753c25946b9f2c04ed92efdc5e 100644 (file)
@@ -634,7 +634,7 @@ Standard_Integer ShapeFix_ComposeShell::ComputeCode (const Handle(ShapeExtend_Wi
   Standard_Integer i; // svv #1
   for ( i=begInd; ; i++ ) {
     if ( i > nb ) i = 1;
-    TopoDS_Edge edge = wire->Edge ( i );;
+    TopoDS_Edge edge = wire->Edge ( i );
 
     Handle(Geom2d_Curve) c2d;
     Standard_Real f, l;
index b1d8eb45cbd9fa247f553610ad7c6e724b32782a..54da471f227768ea42e52174c9e5becf6fefe7ac 100644 (file)
@@ -1421,7 +1421,7 @@ Standard_Boolean ShapeFix_Wire::FixShifted()
   
   ShapeBuild_Edge sbe;
   Standard_Integer nb = sbwd->NbEdges();
-  Standard_Boolean end = (nb == 0), degstop = Standard_False;;
+  Standard_Boolean end = (nb == 0), degstop = Standard_False;
   Standard_Integer stop = nb;
   Standard_Integer degn2 = 0;
   gp_Pnt pdeg;
@@ -2239,7 +2239,7 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersectingEdge (const Standard_Integer
 
   if (myRemoveLoopMode<1) {
     for ( Standard_Integer iter=0; iter < 30; iter++ ) { 
-      Standard_Boolean loopRemoved = Standard_False;;
+      Standard_Boolean loopRemoved = Standard_False;
       Standard_Real prevFirst = 0 , prevLast = 0; 
       for ( Standard_Integer i=1; i<=points2d.Length(); i++ ) {
         gp_Pnt pint = points3d.Value(i);
index 3da63931653e0db4667de75852e297a23b517820..ff027758092d8ebfb00e21273b6d914e6098be73 100644 (file)
@@ -176,7 +176,7 @@ ShapeUpgrade_SplitSurfaceContinuity::ShapeUpgrade_SplitSurfaceContinuity()
       default         :
       case GeomAbs_C1 : BasCriterion = GeomAbs_C2; break;
       case GeomAbs_C2 : BasCriterion = GeomAbs_C3; break;
-      case GeomAbs_C3 : //if (ShapeUpgrade::Debug()) std::cout<<". this criterion is not suitable for a Offset Surface"<<std::endl;
+      case GeomAbs_C3 : //if (ShapeUpgrade::Debug()) std::cout<<". this criterion is not suitable for a Offset Surface"<<std::endl;
 #ifdef OCCT_DEBUG
                        std::cout << "Warning: ShapeUpgrade_SplitSurfaceContinuity: criterion C3 for Offset surface" << std::endl; 
 #endif
index 386eb132eba36416401221b429e634d242775cf7..fa2a50584c6722ace71838209cd084253819d447 100644 (file)
@@ -36,7 +36,7 @@ public:
 
   Standard_EXPORT Handle(TColgp_HArray1OfXYZ) Points() const;
   
-  DEFINE_STANDARD_RTTIEXT(StepVisual_CoordinatesList,StepVisual_TessellatedItem);
+  DEFINE_STANDARD_RTTIEXT(StepVisual_CoordinatesList,StepVisual_TessellatedItem)
 
 private:
 
index a9b28b083e769d1d01b5dc35f7620b93e2e5d402..0158a01091c945108648d3720782c5b652dd88e3 100644 (file)
@@ -30,7 +30,7 @@ class Standard_Transient;
 
 typedef NCollection_Vector<Handle(TColStd_HSequenceOfInteger)> StepVisual_VectorOfHSequenceOfInteger;
 
-DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem);
+DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem)
 
 
 class StepVisual_TessellatedCurveSet  : public StepVisual_TessellatedItem
@@ -55,6 +55,6 @@ private:
   NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> myCurves;
 
 public :
-  DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet,StepVisual_TessellatedItem);
+  DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet,StepVisual_TessellatedItem)
 };
 #endif // StepVisual_TessellatedCurveSet
index 81fe88d6a3a1e00e7505fecf58c147fa7885bbce..72ea067a76ae6d4b366938a2994b11223890664e 100644 (file)
@@ -32,6 +32,6 @@ public:
   //! Returns a DraughtingCalloutElement select type
   Standard_EXPORT StepVisual_TessellatedItem();
   
-  DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedItem,StepGeom_GeometricRepresentationItem);
+  DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedItem,StepGeom_GeometricRepresentationItem)
 };
 #endif // StepVisual_TessellatedItem
index ce36db131c60af78f5df2529e418afe9d402c90b..29544bd7305448eff56450beb328780aa41a1dfa 100644 (file)
@@ -116,7 +116,7 @@ void TDF_Delta::BeforeOrAfterApply(const Standard_Boolean before) const
     std::cout<<"Undo(): dead lock between these attributes:"<<std::endl;
     for (itr.Initialize(ADlist); itr.More(); itr.Next()) {
       std::cout<<"AttributeDelta type = "<<itr.Value()->DynamicType()->Name();
-      std::cout<<"  Attribute type = "<<itr.Value()->Attribute()->DynamicType()->Name()<<std::endl;;
+      std::cout<<"  Attribute type = "<<itr.Value()->Attribute()->DynamicType()->Name()<<std::endl;
     if (before)
       std::cout<<"BeforeUndo(): dead lock."<<std::endl;
     else
index cb9b880ddc67abcdda5fc228d674ba8ca0608f23..9e7cd95a4e838f60bd49716d7a98088f86abb61e 100644 (file)
@@ -1115,7 +1115,7 @@ void TPrsStd_ConstraintTools::ComputeConcentric(const Handle(TDataXtd_Constraint
 //ota : to allow concentric constraint display between vertex and edge
   if (shape1.ShapeType() != TopAbs_EDGE && shape2.ShapeType() != TopAbs_EDGE) {
 #ifdef OCCT_DEBUG
-    std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: concentric between two vertexes : NOT DISPLAYED" << std::endl;;
+    std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: concentric between two vertexes : NOT DISPLAYED" << std::endl;
 #endif
     NullifyAIS(anAIS);
     return;
@@ -1124,7 +1124,7 @@ void TPrsStd_ConstraintTools::ComputeConcentric(const Handle(TDataXtd_Constraint
   Handle(Geom_Plane) aplane = Handle(Geom_Plane)::DownCast(ageom3);
   if (aplane.IsNull()) {
 #ifdef OCCT_DEBUG
-    std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: nul plane" << std::endl;;
+    std::cout << "TPrsStd_ConstraintTools::ComputeConcentric: nul plane" << std::endl;
 #endif
     NullifyAIS(anAIS);
     return;
@@ -1394,7 +1394,7 @@ void TPrsStd_ConstraintTools::ComputeEqualDistance(const Handle(TDataXtd_Constra
   Standard_Integer nbgeom = aConst->NbGeometries();
   if (nbgeom < 4) {
 #ifdef OCCT_DEBUG
-      std::cout << "TPrsStd_ConstraintTools::ComputeEqual: at least four geometries are needed" << std::endl;;
+      std::cout << "TPrsStd_ConstraintTools::ComputeEqual: at least four geometries are needed" << std::endl;
 #endif
       NullifyAIS(anAIS);
       return;
@@ -1547,7 +1547,7 @@ void TPrsStd_ConstraintTools::ComputeEqualRadius(const Handle(TDataXtd_Constrain
   Standard_Integer nbgeom = aConst->NbGeometries();
   if (nbgeom < 2) {
 #ifdef OCCT_DEBUG
-    std::cout << "TPrsStd_ConstraintTools::ComputeEqualRadius: at least two geometries are needed" << std::endl;;
+    std::cout << "TPrsStd_ConstraintTools::ComputeEqualRadius: at least two geometries are needed" << std::endl;
 #endif
     NullifyAIS(anAIS);
     return;
@@ -1639,7 +1639,7 @@ void TPrsStd_ConstraintTools::ComputeDiameter(const Handle(TDataXtd_Constraint)&
   Standard_Integer nbgeom = aConst->NbGeometries();
   if (nbgeom < 1) {
 #ifdef OCCT_DEBUG
-    std::cout << "TPrsStd_ConstraintTools::ComputeDiameter: at least one constrainte is needed" << std::endl;;
+    std::cout << "TPrsStd_ConstraintTools::ComputeDiameter: at least one constrainte is needed" << std::endl;
 #endif
     NullifyAIS(anAIS);
     return;
@@ -1700,14 +1700,14 @@ void TPrsStd_ConstraintTools::ComputeFix(const Handle(TDataXtd_Constraint)& aCon
   Standard_Integer nbgeom = aConst->NbGeometries();
   if (nbgeom < 1) {
 #ifdef OCCT_DEBUG
-    std::cout << "TPrsStd_ConstraintTools::ComputeFix: at least one constrainte is needed" << std::endl;;
+    std::cout << "TPrsStd_ConstraintTools::ComputeFix: at least one constrainte is needed" << std::endl;
 #endif
     NullifyAIS(anAIS);
     return;
   }
   if (!aConst->IsPlanar()) {
 #ifdef OCCT_DEBUG
-    std::cout << "TPrsStd_ConstraintTools::ComputeFix: must be a planar constraint" << std::endl;;
+    std::cout << "TPrsStd_ConstraintTools::ComputeFix: must be a planar constraint" << std::endl;
 #endif
     NullifyAIS(anAIS);
     return;
index 72b456351f2aa5d08c3055f6d655f6185dc18d5a..c940dd72d3b517ec9d4ccbedc2686658a7e2c6a6 100644 (file)
@@ -390,7 +390,7 @@ void  TopOpeBRep_FacesIntersector::PrepareLines()
     const Handle(IntPatch_Line)& L = myIntersector.Line(i);
     LI.SetLine(L,S1,S2);
     LI.Index(i);
-    myLineNb++;;
+    myLineNb++;
   }*/}
 
   if (newV) {
index 3aa89067b39a9bb7208892f538fc7ea39f8ed987..f30f19fc362ab0c6280f08c9989fd627382e34de 100644 (file)
@@ -131,7 +131,7 @@ void DumpMapOfShapeWithState (const Standard_Integer iP,
   aFName+=postfix;
 
   for (i=1; i<=n; i++) {
-    TCollection_AsciiString aI(i), aName;;
+    TCollection_AsciiString aI(i), aName;
     aName+=aFName; aName+=aI;
 
     const TopoDS_Shape& aShape=aMapOfShapeWithState.FindKey(i);
index 674d41a397cb507f5178d7b70e70f4992b8b5997..2a494208ee80b0a72e565124f5d34d94d0837edd 100644 (file)
@@ -437,7 +437,7 @@ void TopOpeBRepBuild_Builder::SplitSectionEdges()
     if (tSPS) debsplitsemess(iE);
 #endif
 
-    Standard_Boolean isspliton = IsSplit(E,TopAbs_ON);;
+    Standard_Boolean isspliton = IsSplit(E,TopAbs_ON);
     if (!isspliton) continue;
 
     const TopTools_ListOfShape& LESD = BDS.ShapeSameDomain(E);
index d0f70db3c850f5c1edd9129b5af932556dc8b208..e093e3232768a132a21390d0cd9ab92b04016642 100644 (file)
@@ -214,7 +214,7 @@ Standard_Boolean TopOpeBRepDS_Check::CheckDS(const Standard_Integer I,
   }
   if(!myMapShapeStatus.IsBound(I))
     myMapShapeStatus.Bind(I,TopOpeBRepDS_OK);
-  return Standard_True;;
+  return Standard_True;
 }
 
 //=======================================================================
index 467c4ef6349951f1238f70cacf72bb5e947e245f..0e7f64393516f98d9542a17c4c01e305b7470dd9 100644 (file)
@@ -705,7 +705,7 @@ Standard_Boolean TopOpeBRepTool::CorrectONUVISO(const TopoDS_Face& Fin, TopoDS_F
 #ifdef OCCT_DEBUG
   if (trc) {
     std::cout<<"CorrectONUVISO ";
-    std::cout<<"iso faulty "<<tocorrectisoe<<" deg faulty "<<tocorrectdege<<std::endl;;
+    std::cout<<"iso faulty "<<tocorrectisoe<<" deg faulty "<<tocorrectdege<<std::endl;
   }
   debcorrUV();
 #endif
index 7f7263228dcebfedd5ce718f666cd20d4b8cda12..9671176ec8650a2adf0f6743f247558252d05984 100644 (file)
@@ -660,7 +660,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_Eshared(const TopoDS_Shape& v,const To
 Standard_EXPORT Standard_Boolean FUN_tool_parVonE(const TopoDS_Vertex& v,const TopoDS_Edge& E,Standard_Real& par) 
 {
   Standard_Real tol = Precision::Confusion();
-  Standard_Boolean isVofE = Standard_False;;
+  Standard_Boolean isVofE = Standard_False;
   TopExp_Explorer ex;
   for (ex.Init(E,TopAbs_VERTEX); ex.More(); ex.Next()) {
 //  for (TopExp_Explorer ex(E,TopAbs_VERTEX); ex.More(); ex.Next()) {
index cef22d09994ada5ce92d09eeb9aafb99ede43d79..611ef51c8ff584d8d1403dc6df36aa2c42748522 100644 (file)
@@ -50,7 +50,7 @@ inline void Units_UnitsDictionary::Dump(const Standard_Integer alevel) const
     std::cout<<" UNITS DICTIONARY : "<<std::endl;
     for(;explorer.MoreQuantity();explorer.NextQuantity())
       {
-       std::cout<<explorer.Quantity()<<std::endl;;
+       std::cout<<explorer.Quantity()<<std::endl;
        for(; explorer.MoreUnit(); explorer.NextUnit())
          std::cout<<"  "<<explorer.Unit()<<std::endl;
       }
index 3fbdafc9de1f36d5e4493538d3d03022bc48dede..2a3db6c62891a53d360dafa4bfbe112de1f45c30 100644 (file)
@@ -231,7 +231,7 @@ private:
   Standard_Boolean myHasAxis;
   gp_Ax2 myPlane;
   gp_Pnt myPnt;
-  gp_Pnt myPntText;;
+  gp_Pnt myPntText;
   Standard_Boolean myHasPlane;
   Standard_Boolean myHasPnt;
   Standard_Boolean myHasPntText;
index 9f4eb60540778a202036948135dccc613707c06b..510b5516a0b922db0f4e2bd9b8a54f56c061c803 100644 (file)
@@ -35,7 +35,7 @@ class XCAFDoc_AssemblyItemRef : public TDF_Attribute
 
 public:
 
-  DEFINE_STANDARD_RTTIEXT(XCAFDoc_AssemblyItemRef, TDF_Attribute);
+  DEFINE_STANDARD_RTTIEXT(XCAFDoc_AssemblyItemRef, TDF_Attribute)
 
   Standard_EXPORT static const Standard_GUID& GetID();
 
index d2558d5afe3916e3d30ccc0c8a6de95163fbb4c0..a13094488cd627cbf00b13e4a7cc242a68799d15 100644 (file)
@@ -416,7 +416,7 @@ static IFSelect_ReturnStatus XSControl_twmode(const Handle(IFSelect_SessionPilot
   if (control->ModeWriteBounds (modemin,modemax)) {
     sout<<"Write Mode : allowed values  "<<modemin<<" to "<<modemax<<Message_EndLine;
     for (Standard_Integer modd = modemin; modd <= modemax; modd ++) {
-      sout<<modd<<"    : "<<control->ModeWriteHelp (modd)<<Message_EndLine;;
+      sout<<modd<<"    : "<<control->ModeWriteHelp (modd)<<Message_EndLine;
     }
   }
   sout<<"Write Mode : actual = "<<TW->TransferMode()<<Message_EndLine;
index 64758dbb865633b71642ee8386e5b50034ed8f66..ea2dc576b5b2c93ae2d2ee4fd08db146a762d4e9 100644 (file)
@@ -452,7 +452,7 @@ void  math_BFGS::Perform(math_MultipleVarFunctionWithGradient& F,
          o << " Status = Done \n";
         o <<" Location Vector = " << Location() << "\n";
         o <<" Minimum value = "<< Minimum()<<"\n";
-        o <<" Number of iterations = "<<NbIterations() <<"\n";;
+        o <<" Number of iterations = "<<NbIterations() <<"\n";
        }
        else {
          o<< " Status = not Done because " << (Standard_Integer)TheStatus << "\n";
index aa65258f61717eb5d87d9e179d58f3b988d82396..22b0f37fcf2e022a07ce2a53a899410c095f62ea 100644 (file)
@@ -459,7 +459,7 @@ void math_TrigonometricFunctionRoots::Perform(const Standard_Real A,
   if(NbSol<4) { 
     Standard_Integer startIndex = NbSol + 1;
     for( Standard_Integer solIt = startIndex; solIt <= 4; solIt++) {
-      Teta = M_PI + IntegerPart(Mod)*2.0*M_PI;;
+      Teta = M_PI + IntegerPart(Mod)*2.0*M_PI;
       X = Teta - MyBorneInf;
       if ((X >= (-Epsilon(Delta))) && (X <= Delta + Epsilon(Delta))) {
        if (Abs(A-C+E) <= Eps) {