diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 18:57:25 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 18:57:25 +0000 |
commit | e94a09fddb8198807cfdec5ab2bac5b59ebd2a33 (patch) | |
tree | 02adaaaef129d7cc3ed17b1bd7001aa2765becec | |
parent | fec7f98f7b5346848e9026842d38b82c77d4c135 (diff) | |
download | ruby-e94a09fddb8198807cfdec5ab2bac5b59ebd2a33.tar.gz |
fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | time.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -403,7 +403,6 @@ wi_mul(wideint_t x, wideint_t y, wideint_t *z) static wideval_t wmul(wideval_t wx, wideval_t wy) { - VALUE x, z; #if WIDEVALUE_IS_WIDER if (FIXWV_P(wx) && FIXWV_P(wy)) { wideint_t z; @@ -423,7 +422,6 @@ wmul(wideval_t wx, wideval_t wy) static wideval_t wquo(wideval_t wx, wideval_t wy) { - VALUE x, y, ret; #if WIDEVALUE_IS_WIDER if (FIXWV_P(wx) && FIXWV_P(wy)) { wideint_t a, b, c; @@ -509,7 +507,7 @@ wdiv(wideval_t wx, wideval_t wy) { #if WIDEVALUE_IS_WIDER wideval_t q; - if (wdivmod0(wn, wd, &q, NULL)) return q; + if (wdivmod0(wx, wy, &q, NULL)) return q; #endif return v2w(div(wx, wy)); } @@ -519,7 +517,7 @@ wmod(wideval_t wx, wideval_t wy) { #if WIDEVALUE_IS_WIDER wideval_t r; - if (wdivmod0(wn, wd, NULL, &r)) return r; + if (wdivmod0(wx, wy, NULL, &r)) return r; #endif return v2w(mod(wx, wy)); } |