From bfebc0b8071beb82e20afa2b5d751a5c6e725329 Mon Sep 17 00:00:00 2001 From: Eelis Date: Thu, 17 Aug 2017 14:23:30 +0200 Subject: Remove dead store in ecdsa_signature_parse_der_lax. This was one of the issues found by Clang's static analyzer (#9573). --- src/pubkey.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/pubkey.cpp') 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) { -- cgit v1.2.3