aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2016-11-10 21:38:07 +0100
committerPavel Janík <Pavel@Janik.cz>2016-11-10 21:38:07 +0100
commitbf49f107ef4fa32c3271010ccd394e2ab3c44b68 (patch)
tree69924bc7d8b7ba0152f84d7d453875d555a580df /src
parent71bc39eb74839c7916d2e04c207853d44d0f6c24 (diff)
Use better name for local variable to prevent -Wshadow compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/bench/checkblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/checkblock.cpp b/src/bench/checkblock.cpp
index bb596ce7f9..4a564d3fc8 100644
--- a/src/bench/checkblock.cpp
+++ b/src/bench/checkblock.cpp
@@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
stream >> block;
assert(stream.Rewind(sizeof(block_bench::block413567)));
- CValidationState state;
- assert(CheckBlock(block, state, params));
+ CValidationState validationState;
+ assert(CheckBlock(block, validationState, params));
}
}