Skip to content

Commit bf49f10

Browse files
committed
Use better name for local variable to prevent -Wshadow compiler warning
1 parent 71bc39e commit bf49f10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bench/checkblock.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
4646
stream >> block;
4747
assert(stream.Rewind(sizeof(block_bench::block413567)));
4848

49-
CValidationState state;
50-
assert(CheckBlock(block, state, params));
49+
CValidationState validationState;
50+
assert(CheckBlock(block, validationState, params));
5151
}
5252
}
5353

0 commit comments

Comments
 (0)