mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Add /* fall through */ comments
to suppress some Coverity Scan warnings
This commit is contained in:
parent
1d46642487
commit
ba94404f70
2 changed files with 5 additions and 3 deletions
|
@ -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 - %%");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue