diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-07-19 17:21:45 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-07-19 17:21:45 +0900 |
commit | 036f26a4e24d7e6e8de30aa7e3cedb19f7da88b0 (patch) | |
tree | a2a1f89cc2394c382c738f687235b1877c80cae1 /error.c | |
parent | fa239e04792e4b83c551257bd24bcc3cad822bf8 (diff) |
Add `fall through`
Pointed out by Coverity Scan
```
** CID 1487522: Control flow issues (MISSING_BREAK)
/error.c: 1273 in exc_full_message()
```
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1272,6 +1272,7 @@ exc_full_message(int argc, VALUE *argv, VALUE exc) switch (args[kw_highlight]) { default: rb_bool_expected(args[kw_highlight], "highlight"); + /* fall through */ case Qundef: args[kw_highlight] = Qnil; break; case Qtrue: case Qfalse: case Qnil: break; } |