Skip to content

Conversation

@BitonicEelis
Copy link
Contributor

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

This was one of the issues found by Clang's static analyzer (bitcoin#9573).
@laanwj
Copy link
Member

laanwj commented Aug 17, 2017

Yes, that assignment is unnecessary. pos is a local variable and not used after.

@practicalswift
Copy link
Contributor

utACK bfebc0b

@BitonicEelis Nice first-time contribution! 👍 Please keep it coming! :-)

@BitonicEelis
Copy link
Contributor Author

@practicalswift Thanks! I plan to. :)

@promag
Copy link
Contributor

promag commented Aug 18, 2017

utACK bfebc0b.

@laanwj
Copy link
Member

laanwj commented Aug 24, 2017

@sipa can you take a look here just to be sure that not using pos after the increase doesn't indicate a bug?

@fanquake fanquake requested a review from sipa August 28, 2017 10:27
@laanwj
Copy link
Member

laanwj commented Oct 11, 2017

Ping @sipa

@sipa
Copy link
Member

sipa commented Oct 12, 2017

utACK bfebc0b

@laanwj laanwj merged commit bfebc0b into bitcoin:master Oct 12, 2017
laanwj added a commit that referenced this pull request Oct 12, 2017
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
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jan 12, 2020
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 (bitcoin#9573).

Tree-SHA512: 3674c56ccdc750bfe42e41d56b1f2058b6921c5354f7e757f6af10a759c5be75e23d6c7932a4524b9a24da308f426803b11deffbfcf09a5898a4204ee61d16d2
fanquake added a commit to fanquake/secp256k1 that referenced this pull request Jun 29, 2020
This change was made in bitcoin/bitcoin without upstreaming. So this is
a followup to the comment here:
bitcoin/bitcoin#19228 (comment).

See also: bitcoin/bitcoin#11073.
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Sep 27, 2020
Summary:
This change was made in bitcoin/bitcoin without upstreaming. So this is
a followup to the comment here:
bitcoin/bitcoin#19228 (comment).

See also: bitcoin/bitcoin#11073.

This is a backport of libsecp256k1 [[bitcoin-core/secp256k1#765 | PR765]]

Test Plan:
  ninja check-secp256k1

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D7592
deadalnix pushed a commit to Bitcoin-ABC/secp256k1 that referenced this pull request Sep 28, 2020
Summary:
This change was made in bitcoin/bitcoin without upstreaming. So this is
a followup to the comment here:
bitcoin/bitcoin#19228 (comment).

See also: bitcoin/bitcoin#11073.

This is a backport of libsecp256k1 [[bitcoin-core/secp256k1#765 | PR765]]

Test Plan:
  ninja check-secp256k1

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D7592
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants