rpc: blanket initialize 0MQ request and response structures

This commit is contained in:
moneromooo-monero 2018-10-08 14:03:08 +00:00
parent e19652df51
commit f5f7c2ac24
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

View File

@ -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