aboutsummaryrefslogtreecommitdiffstats
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
commitf12bd41728cf23c33ebf34bf971b194ebf46715a (patch)
treeb7364708c92b6ba183562fb95e9369c05b67575a /numeric.c
parent7b6aa34f366d4f1d534452ba155d2e25c2d1e97a (diff)
downloadruby-f12bd41728cf23c33ebf34bf971b194ebf46715a.tar.gz
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