ruby-changes:25899
From: kosaki <ko1@a...>
Date: Thu, 29 Nov 2012 07:03:34 +0900 (JST)
Subject: [ruby-changes:25899] kosaki:r37954 (trunk): * thread.c (thread_start_func_2): remove unused code.
kosaki 2012-11-29 06:55:03 +0900 (Thu, 29 Nov 2012) New Revision: 37954 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37954 Log: * thread.c (thread_start_func_2): remove unused code. errinfo = th->errinfo; and errinfo = rb_errinfo(); are the same. Modified files: trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 37953) +++ ChangeLog (revision 37954) @@ -1,3 +1,9 @@ +Thu Nov 29 06:27:55 2012 KOSAKI Motohiro <kosaki.motohiro@g...> + + * thread.c (thread_start_func_2): remove unused code. + errinfo = th->errinfo; and errinfo = rb_errinfo(); are + the same. + Thu Nov 29 06:24:15 2012 KOSAKI Motohiro <kosaki.motohiro@g...> * thread.c (thread_start_func_2): remove unused code. security Index: thread.c =================================================================== --- thread.c (revision 37953) +++ thread.c (revision 37954) @@ -485,7 +485,6 @@ } else { errinfo = th->errinfo; - if (NIL_P(errinfo)) errinfo = rb_errinfo(); if (state == TAG_FATAL) { /* fatal error within this thread, need to stop whole script */ } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/