From 7764dd935737aed303b3d61928ad36f4b67ae8ed Mon Sep 17 00:00:00 2001 From: tarui Date: Thu, 20 Dec 2012 23:58:16 +0000 Subject: [PATCH] * vm_trace.c (rb_suppress_tracing): remove unused variable 'vm_tracing' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ vm_trace.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 856a23102c..d26a077c5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Dec 21 08:56:34 2012 Masaya Tarui + + * vm_trace.c (rb_suppress_tracing): remove unused variable 'vm_tracing' + Fri Dec 21 01:01:45 2012 Masaya Tarui * lib/irb/completion.rb (CompletionProc): support completion of diff --git a/vm_trace.c b/vm_trace.c index f8fc829fc4..9a1fd690b2 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -330,7 +330,6 @@ rb_suppress_tracing(VALUE (*func)(VALUE), VALUE arg) 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)