1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

eval.c: obsolete comment [ci skip]

* eval.c (rb_ensure): remove obsolete prot_tag comment.  patch by
  Jack Danger at [ruby-core:66238].  [misc #10502]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-11-13 09:50:16 +00:00
parent 2a754a7330
commit 07da5b294a
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Nov 13 18:50:14 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_ensure): remove obsolete prot_tag comment. patch by
Jack Danger at [ruby-core:66238]. [misc #10502]
Thu Nov 13 18:10:38 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm.c (rb_vm_make_proc_lambda): similar to rb_vm_make_proc() with

2
eval.c
View file

@ -911,8 +911,6 @@ rb_ensure(VALUE (*b_proc)(ANYARGS), VALUE data1, VALUE (*e_proc)(ANYARGS), VALUE
result = (*b_proc) (data1);
}
POP_TAG();
/* TODO: fix me */
/* retval = prot_tag ? prot_tag->retval : Qnil; */ /* save retval */
errinfo = th->errinfo;
th->ensure_list=ensure_list.next;
(*ensure_list.entry.e_proc)(ensure_list.entry.data2);