summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--st.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 90f7516..94b833d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Sep 21 19:04:08 2014 Narihiro Nakamura <authornari@gmail.com>
+
+ * st.c (do_hash_bin): unused macro.
+
Sun Sep 21 18:45:01 2014 Narihiro Nakamura <authornari@gmail.com>
* parse.y (parser_class_nest): unused variable after YARV
diff --git a/st.c b/st.c
index 15ae694..fa3fa3f 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))