[Gmp-commit] /var/hg/gmp: Delete spurious assignment in mpn_jacobi_update.

mercurial at gmplib.org mercurial at gmplib.org
Fri May 13 20:49:17 CEST 2022


details:   /var/hg/gmp/rev/f43365857aba
changeset: 18349:f43365857aba
user:      Niels Möller <nisse at lysator.liu.se>
date:      Fri May 13 20:49:04 2022 +0200
description:
Delete spurious assignment in mpn_jacobi_update.

diffstat:

 gmp-impl.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r da2b7eb89e0b -r f43365857aba gmp-impl.h
--- a/gmp-impl.h	Sun Apr 24 01:11:16 2022 +0200
+++ b/gmp-impl.h	Fri May 13 20:49:04 2022 +0200
@@ -4252,7 +4252,7 @@
      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 */


More information about the gmp-commit mailing list