summaryrefslogtreecommitdiff
path: root/randlc2x.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2003-03-24 14:17:08 +0100
committertege <tege@gmplib.org>2003-03-24 14:17:08 +0100
commit7586105e76e2f52e8a88f9e1e3a55c1e2a2011f2 (patch)
treef3cebb886f0c6bb2042fe75ccd4d381fa3ef2f05 /randlc2x.c
parent5e726e2fb823376b9e8354811eb2e3c5bb47fcf2 (diff)
downloadgmp-7586105e76e2f52e8a88f9e1e3a55c1e2a2011f2.tar.gz
(randget_lc): Remove write-only variable rn.
Diffstat (limited to 'randlc2x.c')
-rw-r--r--randlc2x.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/randlc2x.c b/randlc2x.c
index 6fc98f130..7b3a2dca8 100644
--- a/randlc2x.c
+++ b/randlc2x.c
@@ -119,7 +119,6 @@ lc (mp_ptr rp, gmp_randstate_t rstate)
static void
randget_lc (gmp_randstate_t rstate, mp_ptr rp, unsigned long int nbits)
{
- mp_size_t rn; /* Size of R. */
unsigned long int rbitpos;
int chunk_nbits;
mp_ptr tp;
@@ -129,8 +128,6 @@ randget_lc (gmp_randstate_t rstate, mp_ptr rp, unsigned long int nbits)
p = (gmp_rand_lc_struct *) RNG_STATE (rstate);
- rn = BITS_TO_LIMBS (nbits);
-
TMP_MARK (lcmark);
chunk_nbits = p->_mp_m2exp / 2;