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)
This commit is contained in:
Wladimir J. van der Laan 2016-11-11 11:46:22 +01:00 committed by Alexander Block
parent 8b7eeb610b
commit db516cfb8e

View File

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