0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Silence false positive GCC warning

This commit is contained in:
Kristaps Kaupe 2020-11-14 03:20:07 +02:00
parent 543693b92b
commit 29c66ace5c
No known key found for this signature in database
GPG key ID: D47B1B4232B55437

View file

@ -3593,7 +3593,7 @@ static RPCHelpMan rescanblockchain()
} }
int start_height = 0; int start_height = 0;
Optional<int> stop_height; Optional<int> stop_height = MakeOptional(false, int());
uint256 start_block; uint256 start_block;
{ {
LOCK(pwallet->cs_wallet); LOCK(pwallet->cs_wallet);