summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.c b/error.c
index c01e887dd2..ed860bb3dc 100644
--- a/error.c
+++ b/error.c
@@ -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;
}