Skip to content

Commit

Permalink
Remove a VERIFY_CHECK for >=0ness on an unsigned type.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaxwell committed Nov 12, 2014
1 parent 2cad067 commit e28a8b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/num_gmp_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
VERIFY_CHECK(rlen-len+i >= 0);
VERIFY_CHECK(rlen-len+i < rlen);
VERIFY_CHECK(tmp[i] >= 0);
VERIFY_CHECK(tmp[i] < 16);
r[rlen-len+i] = cvt[tmp[i]];
}
Expand Down

0 comments on commit e28a8b8

Please sign in to comment.