mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
Fix GCC 7.4.0 warning
Warning: enumeral and non-enumeral type in conditional expression.
This commit is contained in:
parent
332c6134bb
commit
d8bd97d5ee
1 changed files with 1 additions and 1 deletions
|
@ -2266,7 +2266,7 @@ void MaybeResendWalletTxs()
|
||||||
CWallet::Balance CWallet::GetBalance(const int min_depth, bool avoid_reuse) const
|
CWallet::Balance CWallet::GetBalance(const int min_depth, bool avoid_reuse) const
|
||||||
{
|
{
|
||||||
Balance ret;
|
Balance ret;
|
||||||
isminefilter reuse_filter = avoid_reuse ? 0 : ISMINE_USED;
|
isminefilter reuse_filter = avoid_reuse ? ISMINE_NO : ISMINE_USED;
|
||||||
{
|
{
|
||||||
auto locked_chain = chain().lock();
|
auto locked_chain = chain().lock();
|
||||||
LOCK(cs_wallet);
|
LOCK(cs_wallet);
|
||||||
|
|
Loading…
Add table
Reference in a new issue