summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-08-24 11:25:23 +0100
committerMatt Caswell <matt@openssl.org>2016-08-24 11:25:23 +0100
commitfe81a1b0515bf51983150dc7c428ed4c9fd31c7a (patch)
treefe9fc04f8999a351b831a70589194c89aaadea59
parent08f6ae5b2896a22e1e16de3e363d1ea314700b0b (diff)
Remove useless assignment
The variable assignment c1 is never read before it is overwritten. Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r--crypto/bn/bn_mul.c3
1 files changed, 1 insertions, 2 deletions
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]);
}