Use better name for local variable to prevent -Wshadow compiler warning #9124

pull paveljanik wants to merge 1 commits into bitcoin:master from paveljanik:20161110_Wshadow_benchcheckblock changing 1 files +2 −2
  1. paveljanik commented at 8:39 PM on November 10, 2016: contributor

    #9049 brought new -Wshadow warning.

    Local variable shadows the function argument. I decided to keep the function argument name to keep consistency with the rest of the file and use better/descriptive name for the local variable.

  2. Use better name for local variable to prevent -Wshadow compiler warning bf49f107ef
  3. fanquake added the label Refactoring on Nov 11, 2016
  4. laanwj merged this on Nov 11, 2016
  5. laanwj closed this on Nov 11, 2016

  6. laanwj referenced this in commit 87ab49e4fe on Nov 11, 2016
  7. codablock referenced this in commit db516cfb8e on Jan 15, 2018
  8. andvgal referenced this in commit 14019e9712 on Jan 6, 2019
  9. CryptoCentric referenced this in commit e043ad5dff on Feb 24, 2019
  10. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me