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:43
Reviewer
Restricted Project
Differential Revision
D4919: Fix -Wshadow warnings
Parents
rABC7b282ccdf412: test: add "diamond" unit test to MempoolAncestryTests
Branches
Unknown
Tags
Unknown