diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 03:36:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-06 03:36:52 +0000 |
commit | f12bd41728cf23c33ebf34bf971b194ebf46715a (patch) | |
tree | b7364708c92b6ba183562fb95e9369c05b67575a /numeric.c | |
parent | 7b6aa34f366d4f1d534452ba155d2e25c2d1e97a (diff) | |
download | ruby-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |