aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.cpp
diff options
context:
space:
mode:
authorEelis <eelis@bitonic.nl>2017-08-17 14:23:30 +0200
committerEelis <eelis@bitonic.nl>2017-08-17 14:28:35 +0200
commitbfebc0b8071beb82e20afa2b5d751a5c6e725329 (patch)
treea878417444a5f15919b5b01803a24c1b65772a68 /src/pubkey.cpp
parent22e301a3d56dc9e6878380ee92c7d19ca43119d2 (diff)
downloadbitcoin-bfebc0b8071beb82e20afa2b5d751a5c6e725329.tar.xz
Remove dead store in ecdsa_signature_parse_der_lax.
This was one of the issues found by Clang's static analyzer (#9573).
Diffstat (limited to 'src/pubkey.cpp')
-rw-r--r--src/pubkey.cpp1
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) {