mirror of
https://github.com/wownero/wownero-ng.git
synced 2026-10-21 17:38:42 +02:00
rpc: init m_rpc_version in Message ctor
Coverity 182501
This commit is contained in:
+1
-1
@@ -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() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user