Skip to content

Commit

Permalink
Merge #11073: Remove dead store in ecdsa_signature_parse_der_lax.
Browse files Browse the repository at this point in the history
bfebc0b Remove dead store in ecdsa_signature_parse_der_lax. (Eelis)

Pull request description:

  This was one of the issues found by Clang's static analyzer (#9573).

Tree-SHA512: 3674c56ccdc750bfe42e41d56b1f2058b6921c5354f7e757f6af10a759c5be75e23d6c7932a4524b9a24da308f426803b11deffbfcf09a5898a4204ee61d16d2
  • Loading branch information
laanwj committed Oct 12, 2017
2 parents a865b38 + bfebc0b commit 3bb77eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pubkey.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 3bb77eb

Please sign in to comment.