diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | st.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sun Sep 21 19:04:08 2014 Narihiro Nakamura <[email protected]> + + * st.c (do_hash_bin): unused macro. + Sun Sep 21 18:45:01 2014 Narihiro Nakamura <[email protected]> * parse.y (parser_class_nest): unused variable after YARV @@ -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)) |