id_table.c: adjust indent

* id_table.c (list_table_extend, fix_empty): adjust indent.
  (hash_id_table_foreach_values): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-08-26 00:46:58 +00:00
parent f92ed1943c
commit 86fd28d11e

View File

@ -812,7 +812,7 @@ calc_pos(register sa_table* table, id_key_t key)
static void static void
fix_empty(register sa_table* table) fix_empty(register sa_table* table)
{ {
while(--table->free_pos && while (--table->free_pos &&
table->entries[table->free_pos-1].next != SA_EMPTY); table->entries[table->free_pos-1].next != SA_EMPTY);
} }
@ -1008,7 +1008,7 @@ hash_id_table_lookup(register sa_table *table, ID id, VALUE *valuep)
if (entry->key == key) goto found; if (entry->key == key) goto found;
} }
return 0; return 0;
found: found:
if (valuep) *valuep = entry->value; if (valuep) *valuep = entry->value;
return 1; return 1;
} }
@ -1058,7 +1058,7 @@ hash_id_table_delete(sa_table *table, ID id)
entry = table->entries + pos; entry = table->entries + pos;
} while(1); } while(1);
not_found: not_found:
return 0; return 0;
} }