diff options
| author | Kristaps Kaupe <[email protected]> | 2020-11-14 03:20:07 +0200 |
|---|---|---|
| committer | Kristaps Kaupe <[email protected]> | 2020-11-14 03:20:07 +0200 |
| commit | 29c66ace5c777b56cd9e19756a1ab0801d15a5ae (patch) | |
| tree | d5b2704bfbed48b9aa4b31066fe32c688ad0643f /src/wallet | |
| parent | Merge #20378: wallet: fix potential division by 0 in WalletLogPrintf (diff) | |
| download | discoin-29c66ace5c777b56cd9e19756a1ab0801d15a5ae.tar.xz discoin-29c66ace5c777b56cd9e19756a1ab0801d15a5ae.zip | |
Silence false positive GCC warning
Diffstat (limited to 'src/wallet')
| -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 ebcab1227..922dbb05d 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); |