Skip to content

Commit d8bd97d

Browse files
committed
Fix GCC 7.4.0 warning
Warning: enumeral and non-enumeral type in conditional expression.
1 parent 332c613 commit d8bd97d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ void MaybeResendWalletTxs()
22662266
CWallet::Balance CWallet::GetBalance(const int min_depth, bool avoid_reuse) const
22672267
{
22682268
Balance ret;
2269-
isminefilter reuse_filter = avoid_reuse ? 0 : ISMINE_USED;
2269+
isminefilter reuse_filter = avoid_reuse ? ISMINE_NO : ISMINE_USED;
22702270
{
22712271
auto locked_chain = chain().lock();
22722272
LOCK(cs_wallet);

0 commit comments

Comments
 (0)