1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* st.c (do_hash_bin): unused macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nari 2014-09-21 10:07:44 +00:00
parent 5390e32119
commit a3307d5e5a
2 changed files with 4 additions and 1 deletions

View file

@ -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

1
st.c
View file

@ -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))