mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
Removed duplicating semicolons ;;. Removed redundant semicolon at namespace closure.
This commit is contained in:
@@ -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()) {
|
||||
|
@@ -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;
|
||||
|
@@ -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();
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user