ruby-changes:34919
From: nobu <ko1@a...>
Date: Wed, 30 Jul 2014 21:36:34 +0900 (JST)
Subject: [ruby-changes:34919] nobu:r47002 (trunk): thread.c: fix indent
nobu 2014-07-30 21:36:27 +0900 (Wed, 30 Jul 2014) New Revision: 47002 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47002 Log: thread.c: fix indent * thread.c (threadptr_local_aset): fix indent, remove unnecessary braces. Modified files: trunk/thread.c Index: thread.c =================================================================== --- thread.c (revision 47001) +++ thread.c (revision 47002) @@ -2831,14 +2831,12 @@ threadptr_local_aset(rb_thread_t *th, ID https://github.com/ruby/ruby/blob/trunk/thread.c#L2831 st_delete_wrap(th->local_storage, id); return Qnil; } - else { if (!th->local_storage) { th->local_storage = st_init_numtable(); } st_insert(th->local_storage, id, val); return val; } -} VALUE rb_thread_local_aset(VALUE thread, ID id, VALUE val) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/