diff options
author | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-20 23:58:16 +0000 |
---|---|---|
committer | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-20 23:58:16 +0000 |
commit | 7764dd935737aed303b3d61928ad36f4b67ae8ed (patch) | |
tree | 7c972b6eb534877c7b805a3474df2bc8361b7e34 | |
parent | 349b20cc9132c0b22a210dce8d6ff36699f0a3ce (diff) | |
download | ruby-7764dd935737aed303b3d61928ad36f4b67ae8ed.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm_trace.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Dec 21 08:56:34 2012 Masaya Tarui <tarui@ruby-lang.org> + + * vm_trace.c (rb_suppress_tracing): remove unused variable 'vm_tracing' + Fri Dec 21 01:01:45 2012 Masaya Tarui <tarui@ruby-lang.org> * 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) |