aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2023-08-01 17:46:34 -0500
committerjeffro256 <jeffro256@tutanota.com>2023-08-01 17:46:34 -0500
commit1e2e7035e9060c2c3e40f45cd12b2888fd83561c (patch)
treed7be1db5e4117dde606b90492f7184c4615a28ce /src/rpc
parentMerge pull request #8919 (diff)
downloadmonero-1e2e7035e9060c2c3e40f45cd12b2888fd83561c.tar.xz
core_rpc_server: silence unused warnings
Diffstat (limited to 'src/rpc')
-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 0adf0b65e..03cf20f93 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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)
{
res.untrusted = false;
+ r = false;
boost::upgrade_lock<boost::shared_mutex> upgrade_lock(m_bootstrap_daemon_mutex);