Merge pull request #8965

1e2e703 core_rpc_server: silence unused  warnings (jeffro256)
This commit is contained in:
luigi1111 2023-11-06 09:23:08 -05:00
commit 476398687d
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -2358,6 +2358,7 @@ namespace cryptonote
bool core_rpc_server::use_bootstrap_daemon_if_necessary(const invoke_http_mode &mode, const std::string &command_name, const typename COMMAND_TYPE::request& req, typename COMMAND_TYPE::response& res, bool &r) bool core_rpc_server::use_bootstrap_daemon_if_necessary(const invoke_http_mode &mode, const std::string &command_name, const typename COMMAND_TYPE::request& req, typename COMMAND_TYPE::response& res, bool &r)
{ {
res.untrusted = false; res.untrusted = false;
r = false;
boost::upgrade_lock<boost::shared_mutex> upgrade_lock(m_bootstrap_daemon_mutex); boost::upgrade_lock<boost::shared_mutex> upgrade_lock(m_bootstrap_daemon_mutex);