From 1e2e7035e9060c2c3e40f45cd12b2888fd83561c Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Tue, 1 Aug 2023 17:46:34 -0500 Subject: core_rpc_server: silence unused warnings --- src/rpc/core_rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 upgrade_lock(m_bootstrap_daemon_mutex); -- cgit v1.2.3