diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-05-24 09:12:16 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-05-26 14:54:10 +0100 |
commit | a87980f6c2085a47e732d580947344649668adbe (patch) | |
tree | 0daa77571054741ee3ab7bf1a031237dfd2ae72f /src/daemon | |
parent | Merge pull request #3787 (diff) | |
download | monero-a87980f6c2085a47e732d580947344649668adbe.tar.xz |
fix build with GCC 8.1.0
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 2efb501ea..c6dd9f538 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -973,7 +973,7 @@ bool t_rpc_command_executor::print_transaction_pool_stats() { } else { - memset(&res.pool_stats, 0, sizeof(res.pool_stats)); + res.pool_stats = {}; if (!m_rpc_server->on_get_transaction_pool_stats(req, res, false) || res.status != CORE_RPC_STATUS_OK) { tools::fail_msg_writer() << make_error(fail_message, res.status); |