From: Matt Caswell Date: Wed, 24 Aug 2016 10:25:23 +0000 (+0100) Subject: Remove useless assignment X-Git-Tag: OpenSSL_1_1_0~46 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=fe81a1b0515bf51983150dc7c428ed4c9fd31c7a;ds=sidebyside Remove useless assignment The variable assignment c1 is never read before it is overwritten. Reviewed-by: Tim Hudson --- 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]); }