Add /* fall through */ comments

to suppress some Coverity Scan warnings
This commit is contained in:
Yusuke Endoh 2019-07-14 14:03:44 +09:00
parent 1d46642487
commit ba94404f70
2 changed files with 5 additions and 3 deletions

View file

@ -677,6 +677,7 @@ rb_str_format(int argc, const VALUE *argv, VALUE fmt)
case '\n':
case '\0':
p--;
/* fall through */
case '%':
if (flags != FNONE) {
rb_raise(rb_eArgError, "invalid format character - %%");