From a3307d5e5aff2865a2d25dac2e211654efc2e2e0 Mon Sep 17 00:00:00 2001 From: nari Date: Sun, 21 Sep 2014 10:07:44 +0000 Subject: * st.c (do_hash_bin): unused macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ st.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 90f7516fa5..94b833d3c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Sep 21 19:04:08 2014 Narihiro Nakamura + + * st.c (do_hash_bin): unused macro. + Sun Sep 21 18:45:01 2014 Narihiro Nakamura * parse.y (parser_class_nest): unused variable after YARV 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)) -- cgit v1.2.3