Merge pull request #4524

f5f7c2ac rpc: blanket initialize 0MQ request and response structures (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-10-20 20:40:56 +02:00
commit 2287fb9fb4
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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