mirror of
https://github.com/wownero/wownero.git
synced 2026-10-26 19:08:35 +01:00
fix: warning: unused-variable
This commit is contained in:
@@ -224,9 +224,6 @@ bool start_service(
|
|||||||
{
|
{
|
||||||
tools::msg_writer() << "Starting service";
|
tools::msg_writer() << "Starting service";
|
||||||
|
|
||||||
SERVICE_STATUS_PROCESS service_status = {};
|
|
||||||
DWORD unused = 0;
|
|
||||||
|
|
||||||
service_handle p_manager{
|
service_handle p_manager{
|
||||||
OpenSCManager(
|
OpenSCManager(
|
||||||
nullptr
|
nullptr
|
||||||
@@ -353,7 +350,6 @@ bool uninstall_service(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SERVICE_STATUS status = {};
|
|
||||||
if (!DeleteService(p_service.get()))
|
if (!DeleteService(p_service.get()))
|
||||||
{
|
{
|
||||||
tools::fail_msg_writer() << "Couldn't uninstall service: " << get_last_error();
|
tools::fail_msg_writer() << "Couldn't uninstall service: " << get_last_error();
|
||||||
|
|||||||
@@ -4095,7 +4095,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
|
|||||||
// "I had to reorder some code to fix... a timing info leak IIRC. In turn, this undid something I had fixed before, ... a subtle race condition with the txpool.
|
// "I had to reorder some code to fix... a timing info leak IIRC. In turn, this undid something I had fixed before, ... a subtle race condition with the txpool.
|
||||||
// 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."
|
// 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
|
// https://github.com/monero-project/monero/pull/6097
|
||||||
bool refreshed = false;
|
// bool refreshed = false;
|
||||||
std::shared_ptr<std::map<std::pair<uint64_t, uint64_t>, size_t>> output_tracker_cache;
|
std::shared_ptr<std::map<std::pair<uint64_t, uint64_t>, size_t>> output_tracker_cache;
|
||||||
hw::device &hwdev = m_account.get_device();
|
hw::device &hwdev = m_account.get_device();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user