зеркало из https://github.com/github/ruby.git
vm_trace.c: style
* vm_trace.c (rb_suppress_tracing): adjust style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6bfc7cca58
Коммит
3763c760fd
|
@ -332,7 +332,7 @@ rb_suppress_tracing(VALUE (*func)(VALUE), VALUE arg)
|
|||
int state;
|
||||
const int tracing = th->trace_running;
|
||||
|
||||
if(!tracing)
|
||||
if (!tracing)
|
||||
th->vm->trace_running++;
|
||||
th->trace_running = 1;
|
||||
raised = rb_threadptr_reset_raised(th);
|
||||
|
@ -349,7 +349,7 @@ rb_suppress_tracing(VALUE (*func)(VALUE), VALUE arg)
|
|||
rb_threadptr_set_raised(th);
|
||||
}
|
||||
th->trace_running = tracing;
|
||||
if(!tracing)
|
||||
if (!tracing)
|
||||
th->vm->trace_running--;
|
||||
|
||||
if (state) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче