HomePhabricator

Fix -Wshadow warnings

Description

Fix -Wshadow warnings

Summary: These warnings have been introduced in D4891.

Test Plan:
With GCC (for some reason clang -tested with 9.0.1- doesn't report the
warning):

cmake -GNinja .. -DCMAKE_CXX_FLAGS="-Werror=shadow"
ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4919

Details

Provenance
FabienAuthored on Jan 13 2020, 12:33
FabienPushed on Jan 13 2020, 12:56
Reviewer
Restricted Project
Differential Revision
D4919: Fix -Wshadow warnings
Parents
rSTAGING7b282ccdf412: test: add "diamond" unit test to MempoolAncestryTests
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/15400, tag: phabricator/base/15399, tag: phabricator/base/15398, tag: phabricator/base/15396, tag: phabricator/base/15394