diff options
author | Kristaps Kaupe <kristaps@blogiem.lv> | 2020-11-14 03:20:07 +0200 |
---|---|---|
committer | Kristaps Kaupe <kristaps@blogiem.lv> | 2020-11-14 03:20:07 +0200 |
commit | 29c66ace5c777b56cd9e19756a1ab0801d15a5ae (patch) | |
tree | d5b2704bfbed48b9aa4b31066fe32c688ad0643f /src/wallet/rpcwallet.cpp | |
parent | 543693b92b954d186cb466a2f14b480f3bcf8c0b (diff) |
Silence false positive GCC warning
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index ebcab1227d..922dbb05de 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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); |