Commit 6048e6c
committed
Merge bitcoin-core/secp256k1#1222: Remove redundant checks.
5d8f53e Remove redudent checks. (Russell O'Connor)
Pull request description:
These abs checks are implied by the subsequent line, and with the subsequent line written as it is, no underflow is possible with signed integers.
Follows up on bitcoin-core/secp256k1#1218.
ACKs for top commit:
sipa:
utACK 5d8f53e
real-or-random:
ACK 5d8f53e
Tree-SHA512: ddd6758638fe634866fdaf900224372e2e51cb81ef4d024f169fbc39fff38ef1b29e90e0732877e8910158b82bc428ee9c3a4031882c2850b22ad87cc63ee3052 files changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | 418 | | |
420 | | - | |
421 | 419 | | |
422 | 420 | | |
423 | 421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | 422 | | |
424 | | - | |
425 | 423 | | |
426 | 424 | | |
427 | 425 | | |
| |||
0 commit comments