summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index ed860bb3dc..1f3f4ed319 100644
--- a/error.c
+++ b/error.c
@@ -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;
}