commit | 7bd538d94df10c0f5e5a27fbaf7f6916262ac3e4 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Fri Oct 09 13:04:03 2015 -0700 |
committer | Adam Langley <agl@google.com> | Fri Oct 09 13:04:03 2015 -0700 |
tree | a62c2af88ef37cb6b31067c7d045d70c9509477a | |
parent | f0258fe956843e4efc7c502e44d09b21668b096e [diff] |
Remove an unreachable expression. The goto always jumps into the loop so the for's initialisation expression can never be executed. Clang warns about this. Change-Id: I3c3d4b8430754099e9ca6fd20101868c40165245
diff --git a/crypto/bn/generic.c b/crypto/bn/generic.c index 0e7d867..c240a54 100644 --- a/crypto/bn/generic.c +++ b/crypto/bn/generic.c
@@ -1068,7 +1068,7 @@ tp[num + 1] = 0; goto enter; - for (i = 0; i < num; i++) { + for (; i < num; i++) { c0 = 0; ml = bp[i]; #ifdef mul64