0029151: GCC 7.1 warnings "this statement may fall through" [-Wimplicit-fallthrough=]
[occt.git] / src / IGESConvGeom / IGESConvGeom.cxx
index 5acd4e5..09fd548 100644 (file)
@@ -95,8 +95,10 @@ Standard_Integer  IGESConvGeom::SplineCurveFromIGES
     switch (degree) {
     case 3 :
       coeff.SetValue(coeff.Lower()+3, gp_Pnt(DX*Di3, DY*Di3, DZ*Di3));
+        Standard_FALLTHROUGH
     case 2 :
       coeff.SetValue(coeff.Lower()+2, gp_Pnt(CX*Di2, CY*Di2, CZ*Di2));
+        Standard_FALLTHROUGH
     case 1 :
       coeff.SetValue(coeff.Lower()+1, gp_Pnt(BX*Di, BY*Di, BZ*Di));
       coeff.SetValue(coeff.Lower()+0, gp_Pnt(AX, AY, AZ));