mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
e6c4d558dc
commit
7d3e758a44
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue