Skip to content

Commit 87ab49e

Browse files
committed
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)
2 parents bfc7aad + bf49f10 commit 87ab49e

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)