summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--st.c1
2 files changed, 4 insertions, 1 deletions
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 <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 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))