summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-21 10:07:44 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-21 10:07:44 +0000
commita3307d5e5aff2865a2d25dac2e211654efc2e2e0 (patch)
tree715c4770aebde2e410a2eb9fa8b3d9bee7712562 /st.c
parent5390e3211900652e7ffd59b806a2cad5ad0947e0 (diff)
* st.c (do_hash_bin): unused macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/st.c b/st.c
index 15ae6949eb..fa3fa3f037 100644
--- a/st.c
+++ b/st.c
@@ -87,7 +87,6 @@ static void rehash(st_table *);
#define do_hash(key,table) (st_index_t)(*(table)->type->hash)((key))
#define hash_pos(h,n) ((h) & (n - 1))
-#define do_hash_bin(key,table) hash_pos(do_hash((key), (table)), (table)->num_bins)
/* preparation for possible allocation improvements */
#define st_alloc_entry() (st_table_entry *)malloc(sizeof(st_table_entry))