Silence false maybe-unused warning

This variable does always get set via the lvalue parameter in the call
below, but it's far enough away that gcc isn't sure of it.
This commit is contained in:
Jason Rhinelander 2022-04-14 23:36:43 -03:00
parent 5e578069d6
commit 1cf48a28c3
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262
1 changed files with 1 additions and 1 deletions

View File

@ -8030,7 +8030,7 @@ bool simple_wallet::check_tx_key(const std::vector<std::string> &args_)
try
{
uint64_t received;
bool in_pool;
bool in_pool = false;
uint64_t confirmations;
m_wallet->check_tx_key(txid, tx_key, additional_tx_keys, info.address, received, in_pool, confirmations);