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;
Optional<int> stop_height;
Optional<int> stop_height = MakeOptional(false, int());
uint256 start_block;
{
LOCK(pwallet->cs_wallet);