aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-08 14:03:08 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-12 09:57:41 +0000
commitf5f7c2ac245523b5a78a9aff57f05077ff352c1f (patch)
tree84cc1cb459a2cd3e3d5968288fcaa2bc7d2df588 /src
parentMerge pull request #4036 (diff)
downloadmonero-f5f7c2ac245523b5a78a9aff57f05077ff352c1f.tar.xz
rpc: blanket initialize 0MQ request and response structures
Diffstat (limited to 'src')
-rw-r--r--src/rpc/daemon_messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/daemon_messages.h b/src/rpc/daemon_messages.h
index 8fff369df..be3138e3b 100644
--- a/src/rpc/daemon_messages.h
+++ b/src/rpc/daemon_messages.h
@@ -67,7 +67,7 @@ class classname \
// NOTE: when using a type with multiple template parameters,
// replace any comma in the template specifier with the macro
// above, or the preprocessor will eat the comma in a bad way.
-#define RPC_MESSAGE_MEMBER(type, name) type name;
+#define RPC_MESSAGE_MEMBER(type, name) type name = type{}
namespace cryptonote