Skip to content

Commit bfebc0b

Browse files
committed
Remove dead store in ecdsa_signature_parse_der_lax.
This was one of the issues found by Clang's static analyzer (#9573).
1 parent 22e301a commit bfebc0b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/pubkey.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ static int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1
126126
return 0;
127127
}
128128
spos = pos;
129-
pos += slen;
130129

131130
/* Ignore leading zeroes in R */
132131
while (rlen > 0 && input[rpos] == 0) {

0 commit comments

Comments
 (0)