0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
[occt.git] / src / ChFi3d / ChFi3d_ChBuilder.cxx
index 16270f3..912441c 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();