0029151: GCC 7.1 warnings "this statement may fall through" [-Wimplicit-fallthrough=]
[occt.git] / src / Intrv / Intrv_Intervals.cxx
index 1446809..a7a961c 100644 (file)
@@ -194,9 +194,11 @@ void Intrv_Intervals::Unite (const Intrv_Interval& Tool)
     case Intrv_Similar :
       Tins.FuseAtStart(myInter(index).Start(),
                       myInter(index).TolStart());    // modifier le debut
+      Standard_FALLTHROUGH
     case Intrv_JustEnclosingAtEnd :
       Tins.FuseAtEnd  (myInter(index).End  (),
                       myInter(index).TolEnd  ());    // modifier la fin
+      Standard_FALLTHROUGH
     case Intrv_Enclosing :
       myInter.Remove(index);                          // detruire et
       index--;                                        // continuer