Remove useless assignment
authorMatt Caswell <matt@openssl.org>
Wed, 24 Aug 2016 10:25:23 +0000 (11:25 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 24 Aug 2016 10:25:23 +0000 (11:25 +0100)
The variable assignment c1 is never read before it is overwritten.

Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/bn/bn_mul.c

index 66139edf513cd0f8e20da977d1733cc054c6cb44..1ff8efe39ca96d3be60646710f12a17bc87a049f 100644 (file)
@@ -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]);
     }