ruby-changes:24665
From: nobu <ko1@a...>
Date: Fri, 17 Aug 2012 11:14:42 +0900 (JST)
Subject: [ruby-changes:24665] nobu:r36716 (trunk): vm_trace.c: remove meaningless assingments
nobu 2012-08-17 11:13:31 +0900 (Fri, 17 Aug 2012) New Revision: 36716 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36716 Log: vm_trace.c: remove meaningless assingments * vm_trace.c (call_trace_func): remove meaningless assingments to same variables. Modified files: trunk/vm_trace.c Index: vm_trace.c =================================================================== --- vm_trace.c (revision 36715) +++ vm_trace.c (revision 36716) @@ -510,11 +510,7 @@ int line = rb_sourceline(); rb_thread_t *th = GET_THREAD(); - if (klass != 0) { - id = id; - klass = klass; - } - else { + if (!klass) { rb_thread_method_id_and_class(th, &id, &klass); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/