diff options
author | Eelis <eelis@bitonic.nl> | 2017-08-17 14:23:30 +0200 |
---|---|---|
committer | Eelis <eelis@bitonic.nl> | 2017-08-17 14:28:35 +0200 |
commit | bfebc0b8071beb82e20afa2b5d751a5c6e725329 (patch) | |
tree | a878417444a5f15919b5b01803a24c1b65772a68 | |
parent | 22e301a3d56dc9e6878380ee92c7d19ca43119d2 (diff) |
Remove dead store in ecdsa_signature_parse_der_lax.
This was one of the issues found by Clang's static analyzer (#9573).
-rw-r--r-- | src/pubkey.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp index 2da7be783f..2dd0a87fc9 100644 --- a/src/pubkey.cpp +++ b/src/pubkey.cpp @@ -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) { |