mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_backtrace.c (vm_backtrace_to_ary): fix a typo of an variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f17aa9b361
commit
82b2436422
1 changed files with 2 additions and 2 deletions
|
@ -698,14 +698,14 @@ rb_make_backtrace(void)
|
|||
}
|
||||
|
||||
static VALUE
|
||||
vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_deafult, int lev_plus, int to_str)
|
||||
vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_default, int lev_plus, int to_str)
|
||||
{
|
||||
VALUE level, vn;
|
||||
int lev, n;
|
||||
|
||||
rb_scan_args(argc, argv, "02", &level, &vn);
|
||||
|
||||
lev = NIL_P(level) ? lev_deafult : NUM2INT(level);
|
||||
lev = NIL_P(level) ? lev_default : NUM2INT(level);
|
||||
|
||||
if (NIL_P(vn)) {
|
||||
n = 0;
|
||||
|
|
Loading…
Reference in a new issue