summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/st.c b/st.c
index 9919f0a734..53e9dc8320 100644
--- a/st.c
+++ b/st.c
@@ -841,7 +841,8 @@ find_table_entry_ind(st_table *tab, st_hash_t hash_value, st_data_t key)
return REBUILT_TABLE_ENTRY_IND;
if (eq_p)
break;
- } else if (EMPTY_BIN_P(bin))
+ }
+ else if (EMPTY_BIN_P(bin))
return UNDEFINED_ENTRY_IND;
#ifdef QUADRATIC_PROBE
ind = hash_bin(ind + d, tab);
@@ -886,7 +887,8 @@ find_table_bin_ind(st_table *tab, st_hash_t hash_value, st_data_t key)
return REBUILT_TABLE_BIN_IND;
if (eq_p)
break;
- } else if (EMPTY_BIN_P(bin))
+ }
+ else if (EMPTY_BIN_P(bin))
return UNDEFINED_BIN_IND;
#ifdef QUADRATIC_PROBE
ind = hash_bin(ind + d, tab);
@@ -2120,7 +2122,7 @@ st_rehash_indexed(st_table *tab)
continue;
ind = hash_bin(p->hash, tab);
- for(;;) {
+ for (;;) {
st_index_t bin = get_bin(bins, size_ind, ind);
if (EMPTY_OR_DELETED_BIN_P(bin)) {
/* ok, new room */