ruby-changes:26462
From: tarui <ko1@a...>
Date: Fri, 21 Dec 2012 08:59:31 +0900 (JST)
Subject: [ruby-changes:26462] tarui:r38513 (trunk): * vm_trace.c (rb_suppress_tracing): remove unused variable 'vm_tracing'
tarui 2012-12-21 08:58:16 +0900 (Fri, 21 Dec 2012) New Revision: 38513 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38513 Log: * vm_trace.c (rb_suppress_tracing): remove unused variable 'vm_tracing' Modified files: trunk/ChangeLog trunk/vm_trace.c Index: ChangeLog =================================================================== --- ChangeLog (revision 38512) +++ ChangeLog (revision 38513) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Dec 21 08:56:34 2012 Masaya Tarui <tarui@r...> + + * vm_trace.c (rb_suppress_tracing): remove unused variable 'vm_tracing' + Fri Dec 21 01:01:45 2012 Masaya Tarui <tarui@r...> * lib/irb/completion.rb (CompletionProc): support completion of Index: vm_trace.c =================================================================== --- vm_trace.c (revision 38512) +++ vm_trace.c (revision 38513) @@ -330,7 +330,6 @@ rb_suppress_tracing(VALUE (*func)(VALUE) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L330 VALUE result = Qnil; rb_thread_t *th = GET_THREAD(); int state; - const int vm_tracing = th->vm->trace_running; const int tracing = th->trace_running; if(!tracing) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/