aboutsummaryrefslogtreecommitdiffstats
path: root/id_table.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-10 06:44:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-10 06:44:41 +0000
commit5ae753dfa3632a8bc4a4141ff67e8fc9554ca7a0 (patch)
treeb88888d1db310dc460f75315e5f2997f43f071e5 /id_table.c
parentcc02df324f74fc84b9eae1e66bdf38f4422c249b (diff)
downloadruby-5ae753dfa3632a8bc4a4141ff67e8fc9554ca7a0.tar.gz
Adjusted styles
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id_table.c')
-rw-r--r--id_table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/id_table.c b/id_table.c
index 47edefc844..a6c8e909b6 100644
--- a/id_table.c
+++ b/id_table.c
@@ -281,7 +281,8 @@ rb_id_table_foreach_with_replace(struct rb_id_table *tbl, rb_id_table_foreach_fu
VALUE val = tbl->items[i].val;
ret = (*replace)(Qundef, &val, data, TRUE);
tbl->items[i].val = val;
- } else if (ret == ID_TABLE_STOP)
+ }
+ else if (ret == ID_TABLE_STOP)
return;
}
}