diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-07-20 14:46:46 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-07-20 14:46:46 +0900 |
commit | 2e6704304166d05014e89c1009d9c78c9e8d269a (patch) | |
tree | 59390ddd6bea1c01e55c402323342dfbb7b9e118 /error.c | |
parent | 036f26a4e24d7e6e8de30aa7e3cedb19f7da88b0 (diff) |
Use UNREACHABLE instead of fall through
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1272,7 +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 */ + UNREACHABLE; case Qundef: args[kw_highlight] = Qnil; break; case Qtrue: case Qfalse: case Qnil: break; } |