Remove dead store in ecdsa_signature_parse_der_lax.

This was one of the issues found by Clang's static analyzer (#9573).
This commit is contained in:
Eelis 2017-08-17 14:23:30 +02:00
parent 22e301a3d5
commit bfebc0b807

View file

@ -126,7 +126,6 @@ static int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1
return 0;
}
spos = pos;
pos += slen;
/* Ignore leading zeroes in R */
while (rlen > 0 && input[rpos] == 0) {