aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/message.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-16 10:36:49 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-16 11:58:54 +0000
commit3ffbec1556f8817cb014fcea83bccc41747cfcf5 (patch)
tree7ec3231708f89635d585d84c48897cab3b6b69e5 /src/rpc/message.h
parentrpc: remove unused ctors (diff)
downloadmonero-3ffbec1556f8817cb014fcea83bccc41747cfcf5.tar.xz
rpc: init m_rpc_version in Message ctor
Coverity 182501
Diffstat (limited to '')
-rw-r--r--src/rpc/message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/message.h b/src/rpc/message.h
index 16b8e92fc..56087b998 100644
--- a/src/rpc/message.h
+++ b/src/rpc/message.h
@@ -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() { }