diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-06-25 20:18:12 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-06-25 20:18:12 +0300 |
commit | d8bd97d5ee766a75dec016203bd4d4aafcc24c4f (patch) | |
tree | 14b7fed042f62cc8782732a26984f7b68a7cb228 | |
parent | 332c6134bb15384e5b91c631e821fe52a591d3bc (diff) | |
download | bitcoin-d8bd97d5ee766a75dec016203bd4d4aafcc24c4f.tar.xz |
Fix GCC 7.4.0 warning
Warning: enumeral and non-enumeral type in conditional expression.
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 0472334bc1..16366a0c23 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2266,7 +2266,7 @@ void MaybeResendWalletTxs() CWallet::Balance CWallet::GetBalance(const int min_depth, bool avoid_reuse) const { Balance ret; - isminefilter reuse_filter = avoid_reuse ? 0 : ISMINE_USED; + isminefilter reuse_filter = avoid_reuse ? ISMINE_NO : ISMINE_USED; { auto locked_chain = chain().lock(); LOCK(cs_wallet); |