aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-11-06 09:23:08 -0500
committerluigi1111 <luigi1111w@gmail.com>2023-11-06 09:23:08 -0500
commit476398687dbf030170d2f9b910ba6d3f5a535d4a (patch)
tree086b196210db0a8161608519967a591710d8bd99
parentMerge pull request #8922 (diff)
parentcore_rpc_server: silence unused warnings (diff)
downloadmonero-476398687dbf030170d2f9b910ba6d3f5a535d4a.tar.xz
Merge pull request #8965
1e2e703 core_rpc_server: silence unused warnings (jeffro256)
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index a6162c3f9..fbca32f80 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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)
{
res.untrusted = false;
+ r = false;
boost::upgrade_lock<boost::shared_mutex> upgrade_lock(m_bootstrap_daemon_mutex);