rpc: init m_rpc_version in Message ctor

Coverity 182501
pull/127/head
moneromooo-monero 6 years ago
parent bfa2dce171
commit 3ffbec1556
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -65,7 +65,7 @@ namespace rpc
static const char* STATUS_BAD_REQUEST;
static const char* STATUS_BAD_JSON;
Message() : status(STATUS_OK) { }
Message() : status(STATUS_OK), rpc_version(0) { }
virtual ~Message() { }

Loading…
Cancel
Save