ruby-changes:35593
From: nari <ko1@a...>
Date: Sun, 21 Sep 2014 19:07:57 +0900 (JST)
Subject: [ruby-changes:35593] nari:r47675 (trunk): * st.c (do_hash_bin): unused macro.
nari 2014-09-21 19:07:44 +0900 (Sun, 21 Sep 2014) New Revision: 47675 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47675 Log: * st.c (do_hash_bin): unused macro. Modified files: trunk/ChangeLog trunk/st.c Index: ChangeLog =================================================================== --- ChangeLog (revision 47674) +++ ChangeLog (revision 47675) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Sep 21 19:04:08 2014 Narihiro Nakamura <authornari@g...> + + * st.c (do_hash_bin): unused macro. + Sun Sep 21 18:45:01 2014 Narihiro Nakamura <authornari@g...> * parse.y (parser_class_nest): unused variable after YARV Index: st.c =================================================================== --- st.c (revision 47674) +++ st.c (revision 47675) @@ -87,7 +87,6 @@ static void rehash(st_table *); https://github.com/ruby/ruby/blob/trunk/st.c#L87 #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)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/