aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-20 20:40:56 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-20 20:40:56 +0200
commit2287fb9fb43b7d235b6c1ba08c3d8a47bf69c497 (patch)
tree26ca3c772f7dc8c6be85edba57cb7f21e6350768 /src
parentMerge pull request #4523 (diff)
parentrpc: blanket initialize 0MQ request and response structures (diff)
downloadmonero-2287fb9fb43b7d235b6c1ba08c3d8a47bf69c497.tar.xz
Merge pull request #4524
f5f7c2ac rpc: blanket initialize 0MQ request and response structures (moneromooo-monero)
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