1
0
Fork 0
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:
tarui 2012-12-20 23:58:16 +00:00
parent 349b20cc91
commit 7764dd9357
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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)