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:26:50 +02:00
2017-05-31 22:21:25 +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-07-15 12:22:50 -07:00
2017-07-14 19:24:09 -07:00
2017-07-15 12:22:50 -07:00
2017-07-07 10:45:31 -07:00
2017-06-22 19:18:10 +03:00
2017-06-28 02:12:06 +02:00
2017-07-16 22:47:33 +02:00
2017-07-15 14:02:05 -07:00
2017-06-28 02:12:06 +02:00
2017-07-04 18:05:18 +02:00
2017-06-01 16:42:07 -07:00
2017-06-01 16:42:07 -07:00
2017-04-24 14:28:49 +02:00
2017-04-24 14:28:49 +02:00
2017-05-03 18:00:13 +02:00
2017-06-07 17:21:29 +00:00
2017-06-07 17:21:29 +00: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-07-14 19:24:17 +00:00
2017-06-09 10:25:26 +02:00
2017-07-15 14:28:40 +02:00
2017-06-22 03:48:52 +02:00
2017-06-26 10:45:48 -07:00
2017-06-26 10:45:48 -07:00
2017-06-22 15:21:22 -04:00
2017-06-22 15:21:22 -04:00
2017-05-03 18:15:47 +02:00
2017-05-03 18:15:47 +02:00
2017-06-22 03:48:52 +02:00
2017-06-22 03:48:52 +02:00
2017-04-07 14:37:25 -04:00
2017-07-14 19:24:17 +00:00
2017-06-28 11:44:22 -07:00
2017-07-08 13:33:01 -07:00
2017-07-07 10:45:31 -07:00
2017-07-12 14:03:42 -04:00
2017-07-14 19:24:17 +00:00
2017-06-24 11:28:04 +02:00
2017-06-26 13:40:26 +02:00
2017-05-26 13:33:39 -07:00
2017-06-09 10:25:26 +02:00
2017-05-19 02:01:28 -07:00
2017-07-08 13:33:01 -07:00
2017-05-26 13:24:25 -07:00
2017-07-04 18:05:18 +02:00
2017-06-12 20:37:43 +02:00
2017-07-12 17:06:15 -04:00
2017-06-22 19:18:10 +03:00
2017-07-12 15:17:24 -07:00
2017-07-08 13:37:06 -07:00
2017-04-26 21:20:02 +02:00
2017-06-09 10:25:26 +02:00
2017-06-28 02:12:06 +02:00
2017-07-04 18:05:18 +02:00
2017-06-09 19:25:36 -07:00
2017-07-13 12:49:05 -04:00
2017-06-09 19:25:36 -07:00
2017-06-09 19:25:36 -07:00
2017-06-13 19:48:13 +02:00
2017-06-22 03:48:52 +02:00
2017-07-14 19:24:17 +00:00
2017-04-22 07:22:17 -04:00
2017-06-05 20:10:50 +02:00
2017-06-12 20:37:43 +02:00
2017-07-04 18:05:18 +02:00
2017-06-05 16:33:35 -04:00
2017-07-08 13:31:47 -07:00
2017-07-04 18:05:18 +02:00
2017-07-08 13:33:01 -07:00
2017-06-14 18:05:00 -04:00
2017-07-15 13:26:49 -07:00
2017-07-12 17:06:15 -04:00
2017-07-14 20:52:38 -04:00
2017-06-26 13:40:26 +02:00
2017-07-08 13:31:47 -07:00
2017-07-14 12:17:33 -07:00
2017-06-14 15:22:15 +02:00
2017-06-22 19:18:10 +03:00
2017-06-22 03:48:42 +02:00
2017-07-10 21:08:19 -04:00
2017-07-10 21:08:19 -04:00
2017-07-08 13:33:01 -07:00
2017-07-08 13:33:01 -07:00
2017-06-22 03:48:52 +02:00
2017-06-09 10:25:26 +02:00
2017-06-22 03:48:52 +02:00
2017-07-08 13:33:01 -07:00
2017-07-07 10:45:31 -07:00
2017-06-28 18:26:41 +02:00
2017-07-04 18:05:18 +02:00
2017-06-28 11:22:00 -07:00
2017-06-29 17:48:08 +02:00
2017-07-14 19:24:17 +00:00
2017-06-27 16:29:11 +02:00
2017-06-25 20:25:45 +01:00
2017-07-15 13:26:49 -07:00
2017-07-12 17:06:15 -04:00
2017-05-10 15:49:00 -04:00
2017-05-10 15:49:00 -04:00
2017-07-14 17:49:48 -07:00
2017-06-29 20:19:21 +02:00
2017-07-07 12:55:57 -04:00
2017-07-07 12:55:57 -04:00
2017-06-09 01:45:36 +02:00
2017-06-28 02:12:06 +02:00
2017-05-30 19:21:52 +02:00