projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08f6ae5
)
Remove useless assignment
author
Matt Caswell
<matt@openssl.org>
Wed, 24 Aug 2016 10:25:23 +0000
(11:25 +0100)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_mul.c
b/crypto/bn/bn_mul.c
index 66139edf513cd0f8e20da977d1733cc054c6cb44..1ff8efe39ca96d3be60646710f12a17bc87a049f 100644
(file)
--- 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]);
}