summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorYusuke Endoh <[email protected]>2019-07-14 14:03:44 +0900
committerYusuke Endoh <[email protected]>2019-07-14 14:04:19 +0900
commitba94404f7021fae41a827e080be6d5dd0bbac8e4 ()
treefe0259e6eac63b0824888f5f028bd1f2cb633092 /sprintf.c
parent1d46642487d5340cf6c1f17b36ff0f64b0c1595c (diff)
Add /* fall through */ comments
to suppress some Coverity Scan warnings
-rw-r--r--sprintf.c1
1 files changed, 1 insertions, 0 deletions
@@ -677,6 +677,7 @@ rb_str_format(int argc, const VALUE *argv, VALUE fmt)
case '\n':
case '\0':
p--;
case '%':
if (flags != FNONE) {
rb_raise(rb_eArgError, "invalid format character - %%");