Browse Source

Remove dead store in ecdsa_signature_parse_der_lax.

This was one of the issues found by Clang's static analyzer (#9573).
0.16
Eelis 7 years ago
parent
commit
bfebc0b807
  1. 1
      src/pubkey.cpp

1
src/pubkey.cpp

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

Loading…
Cancel
Save