diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bignum.c | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Thu Aug 15 23:26:12 2013 Tanaka Akira <akr@fsij.org> + + * bignum.c (bigdivrem_normal): Remove a local variable. + Thu Aug 15 23:08:32 2013 Tanaka Akira <akr@fsij.org> * bignum.c (big2str_karatsuba): Use bigdivrem_restoring directly to @@ -2727,11 +2727,9 @@ bigdivrem_restoring(BDIGIT *zds, size_t zn, BDIGIT *yds, size_t yn) static void bigdivrem_normal(BDIGIT *zds, size_t zn, const BDIGIT *xds, size_t xn, BDIGIT *yds, size_t yn, int needs_mod) { - BDIGIT q; int shift; - q = yds[yn-1]; - shift = nlz(q); + shift = nlz(yds[yn-1]); if (shift) { bary_small_lshift(yds, yds, yn, shift); zds[xn] = bary_small_lshift(zds, xds, xn, shift); |