Skip to content

Conversation

@brunoerg
Copy link
Contributor

@brunoerg brunoerg commented Feb 9, 2021

This PR removes the unnecessary assignment to page_info['entries'] on line 54 since there is another assignment for it in line 59.

I think a lint (#21096) would detect cases like this one.

@fanquake fanquake added the Tests label Feb 9, 2021
Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review ACK c9095b7
Nice find!

@maflcko maflcko requested a review from achow101 February 9, 2021 16:44
@achow101
Copy link
Member

achow101 commented Feb 9, 2021

ACK c9095b7

@maflcko maflcko merged commit d48f9e8 into bitcoin:master Feb 9, 2021
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 9, 2021
c9095b7 test: remove unnecessary assignment in bdb (Bruno Garcia)

Pull request description:

  This PR removes the unnecessary assignment to page_info['entries'] on line 54 since there is another assignment for it in line 59.

  I think a lint (bitcoin#21096) would detect cases like this one.

ACKs for top commit:
  achow101:
    ACK c9095b7
  theStack:
    Code Review ACK c9095b7

Tree-SHA512: 23377077c015b04361fd416b41bf6806ad0bdd4d264be6760f0fd3bc88d694d2cd52cae250519925c5d3b3c70715772714c3863f8fa181a2eb4883204ccdbf9d
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants