summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index d6f0432f3a..31385e4310 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1757,7 +1757,8 @@ opt_W_getter(ID id, void *data)
case Qtrue:
return INT2FIX(2);
}
- return Qnil; /* not reached */
+
+ UNREACHABLE;
}
void