diff options
| author | MarcoFalke <[email protected]> | 2017-07-16 22:47:21 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-07-16 22:47:33 +0200 |
| commit | 1fc783fc08bc078239537535f174ab8a489772c0 (patch) | |
| tree | bc3bd9109763af85b906c087846e4f82ea2a48b6 /src/httpserver.cpp | |
| parent | Merge #10735: Avoid static analyzer warnings regarding uninitialized arguments (diff) | |
| parent | Do not shadow upper local variable `state`. (diff) | |
| download | discoin-1fc783fc08bc078239537535f174ab8a489772c0.tar.xz discoin-1fc783fc08bc078239537535f174ab8a489772c0.zip | |
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions