aboutsummaryrefslogtreecommitdiff
path: root/src/univalue
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-07-16 22:47:21 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-07-16 22:47:33 +0200
commit1fc783fc08bc078239537535f174ab8a489772c0 (patch)
treebc3bd9109763af85b906c087846e4f82ea2a48b6 /src/univalue
parent565494619d809655fa94d274bb2202d25553e485 (diff)
parent5618b7d1ad3f2a258d46cf67b732ffddd3f34cb6 (diff)
Merge #10739: test: Move variable `state` down where it is used
5618b7d Do not shadow upper local variable `state`. (Pavel Janík) Pull request description: Tests added in #10192 emit few shadowing warnings: ``` test/txvalidationcache_tests.cpp:268:26: warning: declaration shadows a local variable [-Wshadow] test/txvalidationcache_tests.cpp:296:26: warning: declaration shadows a local variable [-Wshadow] test/txvalidationcache_tests.cpp:357:26: warning: declaration shadows a local variable [-Wshadow] ``` Remove shadowing declarations and reuse the upper local declaration as in other already present test cases. Tree-SHA512: 1e3c52cf963f8f33e729900c8ecdcd5cc6fe28caa441ba53c4636df9cc3d1a351ca231966d36384589f1340ae8ddd447424c2ee3e8527d334d0412f0d1a10c8f
Diffstat (limited to 'src/univalue')
0 files changed, 0 insertions, 0 deletions