core_rpc_server: silence unused warnings

This commit is contained in:
jeffro256 2023-08-01 17:46:34 -05:00
parent 00fd416a99
commit 1e2e7035e9
No known key found for this signature in database
GPG Key ID: 6F79797A6E392442

View File

@ -2356,6 +2356,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);