rts: annotate switch/case with '/* fallthrough */'
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 14 May 2017 19:22:37 +0000 (20:22 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 14 May 2017 19:30:53 +0000 (20:30 +0100)
commit230416f8b6f6731064115a2905ad354e27b7d605
treebbeaeea54d1b7f90da141be1552404a638d62442
parent20c39b7743a242fce785e5c6507a8549dba7a8d2
rts: annotate switch/case with '/* fallthrough */'

Fixes gcc-7.1.0 warnings of form:

  rts/sm/Scav.c:559:9: error:
     error: this statement may fall through [-Werror=implicit-fallthrough=]
             scavenge_fun_srt(info);
             ^~~~~~~~~~~~~~~~~~~~~~

Many of places are indeed unobvious and some are
already annotated by comments.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
rts/RaiseAsync.c
rts/sm/CNF.c
rts/sm/MarkWeak.c
rts/sm/Sanity.c
rts/sm/Scav.c