0029151: GCC 7.1 warnings "this statement may fall through" [-Wimplicit-fallthrough=]
[occt.git] / src / IntPatch / IntPatch_ImpPrmIntersection.cxx
index ac89bbb..180ec90 100644 (file)
@@ -428,6 +428,7 @@ void Recadre(const Standard_Boolean ,
   case GeomAbs_Torus:
     while(V1<(V1p-1.5*M_PI)) V1+=M_PI+M_PI;
     while(V1>(V1p+1.5*M_PI)) V1-=M_PI+M_PI;
+    Standard_FALLTHROUGH
   case GeomAbs_Cylinder:
   case GeomAbs_Cone:
   case GeomAbs_Sphere:
@@ -441,6 +442,7 @@ void Recadre(const Standard_Boolean ,
   case GeomAbs_Torus:
     while(V2<(V2p-1.5*M_PI)) V2+=M_PI+M_PI;
     while(V2>(V2p+1.5*M_PI)) V2-=M_PI+M_PI;
+    Standard_FALLTHROUGH
   case GeomAbs_Cylinder:
   case GeomAbs_Cone:
   case GeomAbs_Sphere: