Issue #10502 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed

----------------------------------------
misc #10502: Removing obsolete prot_tag comment
https://bugs.ruby-lang.org/issues/10502#change-49951

* Author: Jack Danger
* Status: Closed
* Priority: Low
* Assignee: Zachary Scott
* Category: doc
* Target version: current: 2.2.0
----------------------------------------
The Changelog records Matz mentioning that the following comment was obsolete as of Wed Sep 17 23:41:45 2003

This patch removes it so future developers don't get confused.

~~~
Index: eval.c
===================================================================
--- eval.c      (revision 48392)
+++ eval.c      (working copy)
@@ -911,8 +911,6 @@
        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);
~~~

---Files--------------------------------
remove_obsolete_prot_tag_comment.diff (437 Bytes)


-- 
https://bugs.ruby-lang.org/