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) @@ -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));
}
}

Loading…
Cancel
Save