ruby-changes:54725
From: nobu <ko1@a...>
Date: Wed, 30 Jan 2019 12:36:12 +0900 (JST)
Subject: [ruby-changes:54725] nobu:r66942 (trunk): hash.c: remove repeated rb_hash_start
nobu 2019-01-30 12:36:06 +0900 (Wed, 30 Jan 2019) New Revision: 66942 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66942 Log: hash.c: remove repeated rb_hash_start * hash.c (rb_dbl_long_hash): remove repeated rb_hash_start as rb_objid_hash includes rb_hash_start, Modified files: trunk/hash.c Index: hash.c =================================================================== --- hash.c (revision 66941) +++ hash.c (revision 66942) @@ -159,7 +159,7 @@ rb_dbl_long_hash(double d) https://github.com/ruby/ruby/blob/trunk/hash.c#L159 union {double d; uint64_t i;} u; u.d = d; - return rb_objid_hash(rb_hash_start(u.i)); + return rb_objid_hash(u.i); } #endif } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/