diff options
author | jeffro256 <jeffro256@tutanota.com> | 2023-08-01 17:46:34 -0500 |
---|---|---|
committer | jeffro256 <jeffro256@tutanota.com> | 2023-08-01 17:46:34 -0500 |
commit | 1e2e7035e9060c2c3e40f45cd12b2888fd83561c (patch) | |
tree | d7be1db5e4117dde606b90492f7184c4615a28ce /src/rpc | |
parent | Merge pull request #8919 (diff) | |
download | monero-1e2e7035e9060c2c3e40f45cd12b2888fd83561c.tar.xz |
core_rpc_server: silence unused warnings
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 1 |
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); |