summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-05-13 20:49:04 +0200
committerNiels Möller <nisse@lysator.liu.se>2022-05-13 20:49:04 +0200
commit24de5560e99f17df1b2377998a9b43b863dfebaa (patch)
treeb2946120adef99f2bb233b47c6f05d853ad44b67
parent685f0363f0ae4192ee3642ff0c97a5ffa19d80f2 (diff)
downloadgmp-24de5560e99f17df1b2377998a9b43b863dfebaa.tar.gz
Delete spurious assignment in mpn_jacobi_update.
-rw-r--r--gmp-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index 0c6109b7c..2615af764 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -4252,7 +4252,7 @@ mpn_jacobi_update (unsigned bits, unsigned denominator, unsigned q)
One could maintain the state preshifted 3 bits, to save a shift
here, but at least on x86, that's no real saving.
*/
- return bits = jacobi_table[(bits << 3) + (denominator << 2) + q];
+ return jacobi_table[(bits << 3) + (denominator << 2) + q];
}
/* Matrix multiplication */