Browse Source

Merge #9124: Use better name for local variable to prevent -Wshadow compiler warning

bf49f10 Use better name for local variable to prevent -Wshadow compiler warning (Pavel Janík)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
87ab49e4fe
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  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