aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.cpp
diff options
context:
space:
mode:
authorEelis <[email protected]>2017-08-17 14:23:30 +0200
committerEelis <[email protected]>2017-08-17 14:28:35 +0200
commitbfebc0b8071beb82e20afa2b5d751a5c6e725329 (patch)
treea878417444a5f15919b5b01803a24c1b65772a68 /src/pubkey.cpp
parentMerge #10901: Fix constness of ArgsManager methods (diff)
downloaddiscoin-bfebc0b8071beb82e20afa2b5d751a5c6e725329.tar.xz
discoin-bfebc0b8071beb82e20afa2b5d751a5c6e725329.zip
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 2da7be783..2dd0a87fc 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) {