mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
rpc: init m_rpc_version in Message ctor
Coverity 182501
This commit is contained in:
parent
bfa2dce171
commit
3ffbec1556
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ namespace rpc
|
||||||
static const char* STATUS_BAD_REQUEST;
|
static const char* STATUS_BAD_REQUEST;
|
||||||
static const char* STATUS_BAD_JSON;
|
static const char* STATUS_BAD_JSON;
|
||||||
|
|
||||||
Message() : status(STATUS_OK) { }
|
Message() : status(STATUS_OK), rpc_version(0) { }
|
||||||
|
|
||||||
virtual ~Message() { }
|
virtual ~Message() { }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue