From c608f3c072d0968e22a2262d2a109009c0cdaded Mon Sep 17 00:00:00 2001 From: Tadeas Moravec Date: Tue, 28 Jan 2020 13:00:19 +0100 Subject: [PATCH] Wallet: Fix unused variable compiler warning g++ 7.4.0 on Ubuntu 18.04 --- src/wallet/wallet2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 9085c1e51..08655cf23 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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, size_t>> output_tracker_cache; hw::device &hwdev = m_account.get_device();