Silence false positive GCC warning

This commit is contained in:
Kristaps Kaupe committed 2020-11-14 03:20:07 +02:00
1 parent 543693b92b
commit 29c66ace5c
1 file changed
+1 -1
+1 -1
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);