From 8dceba2e6871ab9b8db3ddde42b0a76bae5cbca2 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Wed, 26 Dec 2018 08:06:23 +0100 Subject: [PATCH] remove useless initialization --- bn_mp_prime_frobenius_underwood.c | 2 +- bn_mp_prime_strong_lucas_selfridge.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bn_mp_prime_frobenius_underwood.c b/bn_mp_prime_frobenius_underwood.c index 9e8f607..2950b0b 100644 --- a/bn_mp_prime_frobenius_underwood.c +++ b/bn_mp_prime_frobenius_underwood.c @@ -38,7 +38,7 @@ int mp_prime_frobenius_underwood(const mp_int *N, int *result) mp_int T1z,T2z,Np1z,sz,tz; int a, ap2, length, i, j, isset; - int e = MP_OKAY; + int e; *result = MP_NO; diff --git a/bn_mp_prime_strong_lucas_selfridge.c b/bn_mp_prime_strong_lucas_selfridge.c index 0be4915..38972ff 100644 --- a/bn_mp_prime_strong_lucas_selfridge.c +++ b/bn_mp_prime_strong_lucas_selfridge.c @@ -85,7 +85,7 @@ int mp_prime_strong_lucas_selfridge(const mp_int *a, int *result) mp_int Dz, gcd, Np1, Uz, Vz, U2mz, V2mz, Qmz, Q2mz, Qkdz, T1z, T2z, T3z, T4z, Q2kdz; /* CZ TODO: Some of them need the full 32 bit, hence the (temporary) exclusion of MP_8BIT */ int32_t D, Ds, J, sign, P, Q, r, s, u, Nbits; - int e = MP_OKAY; + int e; int isset; *result = MP_NO;