summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-06 03:36:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-06 03:36:52 +0000
commit1e95f9da8840d9163b8d781293af84b0c2e99180 (patch)
treeb7364708c92b6ba183562fb95e9369c05b67575a /numeric.c
parent1816e39351aa73dd4360025422fd29ef17473cb2 (diff)
remove unnecessary variable
* st.c (do_hash): remove unnecessary variable and cast. * hash.c, numeric.c, st.c: adjust style and indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index d2c9cf701b..74771cba6f 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1453,7 +1453,7 @@ flo_hash(VALUE num)
VALUE
rb_dbl_hash(double d)
{
- return LONG2FIX(rb_dbl_long_hash (d));
+ return LONG2FIX(rb_dbl_long_hash(d));
}
VALUE