Skip to content

Commit

Permalink
cancel 313f6b; add fallthrough comment
Browse files Browse the repository at this point in the history
  • Loading branch information
matz authored and cremno committed Mar 4, 2014
1 parent 9bb2eba commit 7962e8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mrbgems/mruby-sprintf/src/sprintf.c
Expand Up @@ -654,8 +654,7 @@ mrb_str_format(mrb_state *mrb, int argc, const mrb_value *argv, mrb_value fmt)
case '\n':
case '\0':
p--;
break;

/* fallthrough */
case '%':
if (flags != FNONE) {
mrb_raise(mrb, E_ARGUMENT_ERROR, "invalid format character - %");
Expand Down

0 comments on commit 7962e8d

Please sign in to comment.