MarcoFalke 1fc783fc08
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
2017-07-16 22:47:33 +02:00
..
2017-07-15 14:28:40 +02:00
2017-06-05 00:52:36 +02:00
2017-06-22 19:18:10 +03:00
2017-07-15 14:28:40 +02:00
2017-06-22 19:18:10 +03:00
2017-07-08 13:33:01 -07:00
2017-07-08 13:33:01 -07:00
2017-07-16 02:25:25 +02:00
2017-06-09 10:25:26 +02:00
2017-07-15 14:28:40 +02:00
2017-06-09 10:25:26 +02:00
2017-06-22 19:18:10 +03:00
2017-06-09 10:25:26 +02:00
2017-06-05 16:33:35 -04:00
2017-07-14 12:17:33 -07:00
2017-06-22 19:18:10 +03:00
2017-07-08 13:33:01 -07:00
2017-07-08 13:33:01 -07:00
2017-06-09 10:25:26 +02:00
2017-07-08 13:33:01 -07:00
2017-07-07 10:45:31 -07:00
2017-07-14 19:24:17 +00:00