From fe81a1b0515bf51983150dc7c428ed4c9fd31c7a Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 24 Aug 2016 11:25:23 +0100 Subject: Remove useless assignment The variable assignment c1 is never read before it is overwritten. Reviewed-by: Tim Hudson --- crypto/bn/bn_mul.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto/bn') diff --git a/crypto/bn/bn_mul.c b/crypto/bn/bn_mul.c index 66139edf51..1ff8efe39c 100644 --- a/crypto/bn/bn_mul.c +++ b/crypto/bn/bn_mul.c @@ -729,9 +729,8 @@ void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2, */ if (l != NULL) { lp = &(t[n2 + n]); - c1 = (int)(bn_add_words(lp, &(r[0]), &(l[0]), n)); + bn_add_words(lp, &(r[0]), &(l[0]), n); } else { - c1 = 0; lp = &(r[0]); } -- cgit v1.2.3