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 | 1e95f9da8840d9163b8d781293af84b0c2e99180 (patch) | |
tree | b7364708c92b6ba183562fb95e9369c05b67575a /numeric.c | |
parent | 1816e39351aa73dd4360025422fd29ef17473cb2 (diff) | |
download | ruby-1e95f9da8840d9163b8d781293af84b0c2e99180.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 |