mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 12:26:31 +02:00
rpc: init m_rpc_version in Message ctor
Coverity 182501
This commit is contained in:
parent
bfa2dce171
commit
3ffbec1556
@ -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…
Reference in New Issue
Block a user