From 74d7b281d3b8a7e023bf6b88af36bb6bc9d41e4c Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 21 Mar 2016 18:57:25 +0000 Subject: [PATCH] fix typo git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/time.c b/time.c index fbe84a2000..ff6764e68d 100644 --- a/time.c +++ b/time.c @@ -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)); }