mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
349b20cc91
commit
7764dd9357
2 changed files with 4 additions and 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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue