Browse Source

Use better name for local variable to prevent -Wshadow compiler warning

0.14
Pavel Janík 8 years ago
parent
commit
bf49f107ef
  1. 4
      src/bench/checkblock.cpp

4
src/bench/checkblock.cpp

@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
stream >> block; stream >> block;
assert(stream.Rewind(sizeof(block_bench::block413567))); assert(stream.Rewind(sizeof(block_bench::block413567)));
CValidationState state; CValidationState validationState;
assert(CheckBlock(block, state, params)); assert(CheckBlock(block, validationState, params));
} }
} }

Loading…
Cancel
Save