aboutsummaryrefslogtreecommitdiff
path: root/src/test/miner_tests.cpp
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2016-06-07 21:22:48 +0200
committerPavel Janík <Pavel@Janik.cz>2016-06-07 21:22:48 +0200
commitc2715d3ab8d83be5bc256380b84d5467e85a4330 (patch)
tree6dc67b195b2a6beb2d7169d48de7f14e9b2f2e84 /src/test/miner_tests.cpp
parent79004d4ae67164d980fdaab4de9d9d467cdb9b88 (diff)
Do not shadow local variables
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r--src/test/miner_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp
index 469862518c..3f5f0ee98b 100644
--- a/src/test/miner_tests.cpp
+++ b/src/test/miner_tests.cpp
@@ -385,8 +385,8 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity)
SetMockTime(0);
mempool.clear();
- BOOST_FOREACH(CTransaction *tx, txFirst)
- delete tx;
+ BOOST_FOREACH(CTransaction *_tx, txFirst)
+ delete _tx;
fCheckpointsEnabled = true;
}