diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-19 12:51:13 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-19 12:51:13 -0500 |
commit | 9a3bd88b9f65f4245b6b20ef0c33b75c39779b80 (patch) | |
tree | 9a7859d7d2c611058eeddfe385cf15ab74e804fc /src/daemon | |
parent | Merge pull request #3844 (diff) | |
parent | fix build with GCC 8.1.0 (diff) | |
download | monero-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.tar.xz |
Merge pull request #3851
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
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 8735f5463..956c84a01 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -976,7 +976,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); |