Avoid -Wshadow warnings in wallet_tests
commit09fe346a4fb9c2b6c4f1bc1318494885708226cd
authorRussell Yanofsky <russ@yanofsky.org>
Wed, 22 Feb 2017 19:11:44 +0000 (22 14:11 -0500)
committerRussell Yanofsky <russ@yanofsky.org>
Wed, 22 Feb 2017 19:11:44 +0000 (22 14:11 -0500)
tree1d360182b8bc36fa2446af14b5a59c0fd4f19a00
parentbed5b30a5622782b35d0d28fccde979e188901f1
Avoid -Wshadow warnings in wallet_tests

Warnings introduced by commit e2e2f4c "Return errors from importmulti if
complete rescans are not successful" and reported by Pavel Janík
<Pavel@Janik.cz> in https://github.com/bitcoin/bitcoin/pull/9773 and
https://github.com/bitcoin/bitcoin/pull/9827

wallet/test/wallet_tests.cpp: In member function ‘void wallet_tests::rescan::test_method()’:
wallet/test/wallet_tests.cpp:377:17: warning: declaration of ‘wallet’ shadows a global declaration [-Wshadow]
         CWallet wallet;
src/wallet/test/wallet_tests.cpp