The following code block can be seen in src/secp256k1/src/ecdsa_impl.h starting at line 83
while (lenleft > 0) {
if ((ret >> ((sizeof(size_t) - 1) * 8)) != 0) {
}
ret = (ret << 8) | **sigp;
if (ret + lenleft > (size_t)(sigend - *sigp)) {
/* Result exceeds the length of the passed array. */
return -1;
}
(*sigp)++;
lenleft--;
}
The conditional if statement at line 84 doesn't appear to have a purpose other than spending cycles