From 7d3e758a44f3e86669726a20bfac8528ef6d9315 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 8 Nov 2018 00:12:53 +0000 Subject: [PATCH] compile.c: unreachable than rb_bug [ci skip] * compile.c (iseq_calc_param_size): use UNREACHABLE than rb_bug, at where never reachable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 56a9e1a88a..b68f824a29 100644 --- a/compile.c +++ b/compile.c @@ -1510,7 +1510,7 @@ iseq_calc_param_size(rb_iseq_t *iseq) body->param.size = body->param.lead_num + body->param.opt_num; } else { - rb_bug("unreachable"); + UNREACHABLE; } } else {