diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-11-10 21:38:07 +0100 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-11-10 21:38:07 +0100 |
commit | bf49f107ef4fa32c3271010ccd394e2ab3c44b68 (patch) | |
tree | 69924bc7d8b7ba0152f84d7d453875d555a580df /src | |
parent | 71bc39eb74839c7916d2e04c207853d44d0f6c24 (diff) |
Use better name for local variable to prevent -Wshadow compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/bench/checkblock.cpp | 4 |
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)); } } |