diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-06-07 21:22:48 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-06-07 21:22:48 +0200 |
commit | c2715d3ab8d83be5bc256380b84d5467e85a4330 (patch) | |
tree | 6dc67b195b2a6beb2d7169d48de7f14e9b2f2e84 /src/test/pmt_tests.cpp | |
parent | 79004d4ae67164d980fdaab4de9d9d467cdb9b88 (diff) |
Do not shadow local variables
Diffstat (limited to 'src/test/pmt_tests.cpp')
-rw-r--r-- | src/test/pmt_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/pmt_tests.cpp b/src/test/pmt_tests.cpp index 2f3f607889..74ffe0cc74 100644 --- a/src/test/pmt_tests.cpp +++ b/src/test/pmt_tests.cpp @@ -37,8 +37,8 @@ BOOST_AUTO_TEST_CASE(pmt_test1) seed_insecure_rand(false); static const unsigned int nTxCounts[] = {1, 4, 7, 17, 56, 100, 127, 256, 312, 513, 1000, 4095}; - for (int n = 0; n < 12; n++) { - unsigned int nTx = nTxCounts[n]; + for (int i = 0; i < 12; i++) { + unsigned int nTx = nTxCounts[i]; // build a block with some dummy transactions CBlock block; |