summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-30 03:36:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-30 03:36:06 +0000
commitd07d192881920b2b46899fec55bf18199bd71d31 (patch)
tree7d8ef31cce8c0e46e9238d0a15477feb758bcdc2 /hash.c
parent7fa16fd9624ca38f2d82c121a9af5f22c87e2697 (diff)
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, git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 3dd2777cd1..0c7418f9b7 100644
--- a/hash.c
+++ b/hash.c
@@ -159,7 +159,7 @@ rb_dbl_long_hash(double d)
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
}