From e1b064c576007805067359479c8595a2f3cc23ef Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 30 Jul 2014 12:36:27 +0000 Subject: thread.c: fix indent * thread.c (threadptr_local_aset): fix indent, remove unnecessary braces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 4d291e677d..2a9cff601a 100644 --- a/thread.c +++ b/thread.c @@ -2831,14 +2831,12 @@ threadptr_local_aset(rb_thread_t *th, ID id, VALUE val) 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) -- cgit v1.2.1