Wallet: Fix unused variable compiler warning

g++ 7.4.0 on Ubuntu 18.04
This commit is contained in:
Tadeas Moravec 2020-01-28 13:00:19 +01:00 committed by wowario
parent 8212ad8b97
commit c608f3c072
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -3477,6 +3477,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
// It was pretty subtle IIRC, and so I needed time to think about how to refix it after the move, and I never got to it."
// https://github.com/monero-project/monero/pull/6097
bool refreshed = false;
(void)refreshed; // Silence a compiler warning.
std::shared_ptr<std::map<std::pair<uint64_t, uint64_t>, size_t>> output_tracker_cache;
hw::device &hwdev = m_account.get_device();