Skip to content

Commit

Permalink
Use better name for local variable to prevent -Wshadow compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanik committed Nov 10, 2016
1 parent 71bc39e commit bf49f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bench/checkblock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit bf49f10

Please sign in to comment.