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/rpc_command_executor.cpp | |
| parent | 61f3916b4ae51480b783a4f137f7456b4731b2b9 (diff) | |
| parent | a87980f6c2085a47e732d580947344649668adbe (diff) | |
| download | monzero-core-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.tar.gz monzero-core-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.tar.xz monzero-core-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.zip | |
Merge pull request #3851
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
| -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); |
