mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-14 13:52:36 -03:00
Remove a VERIFY_CHECK for >=0ness on an unsigned type.
This commit is contained in:
parent
2cad067a36
commit
e28a8b86c7
1 changed files with 0 additions and 1 deletions
|
@ -315,7 +315,6 @@ static void secp256k1_num_get_hex(char *r, int rlen, const secp256k1_num_t *a) {
|
||||||
for (int i=0; i<len; i++) {
|
for (int i=0; i<len; i++) {
|
||||||
VERIFY_CHECK(rlen-len+i >= 0);
|
VERIFY_CHECK(rlen-len+i >= 0);
|
||||||
VERIFY_CHECK(rlen-len+i < rlen);
|
VERIFY_CHECK(rlen-len+i < rlen);
|
||||||
VERIFY_CHECK(tmp[i] >= 0);
|
|
||||||
VERIFY_CHECK(tmp[i] < 16);
|
VERIFY_CHECK(tmp[i] < 16);
|
||||||
r[rlen-len+i] = cvt[tmp[i]];
|
r[rlen-len+i] = cvt[tmp[i]];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue