ruby-changes:26467
From: nobu <ko1@a...>
Date: Fri, 21 Dec 2012 16:35:52 +0900 (JST)
Subject: [ruby-changes:26467] nobu:r38518 (trunk): vm_trace.c: style
nobu 2012-12-21 16:35:42 +0900 (Fri, 21 Dec 2012) New Revision: 38518 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38518 Log: vm_trace.c: style * vm_trace.c (rb_suppress_tracing): adjust style. Modified files: trunk/vm_trace.c Index: vm_trace.c =================================================================== --- vm_trace.c (revision 38517) +++ vm_trace.c (revision 38518) @@ -332,7 +332,7 @@ rb_suppress_tracing(VALUE (*func)(VALUE) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L332 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) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L349 rb_threadptr_set_raised(th); } th->trace_running = tracing; - if(!tracing) + if (!tracing) th->vm->trace_running--; if (state) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/