rpc: init m_rpc_version in Message ctor

Coverity 182501
This commit is contained in:
moneromooo-monero 2018-10-16 10:36:49 +00:00
parent bfa2dce171
commit 3ffbec1556
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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() { }