aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bignum.c b/bignum.c
index f218770355..8fb76951e9 100644
--- a/bignum.c
+++ b/bignum.c
@@ -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);