diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 10:36:49 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 11:58:54 +0000 |
commit | 3ffbec1556f8817cb014fcea83bccc41747cfcf5 (patch) | |
tree | 7ec3231708f89635d585d84c48897cab3b6b69e5 /src/rpc/message.h | |
parent | rpc: remove unused ctors (diff) | |
download | monero-3ffbec1556f8817cb014fcea83bccc41747cfcf5.tar.xz |
rpc: init m_rpc_version in Message ctor
Coverity 182501
Diffstat (limited to 'src/rpc/message.h')
-rw-r--r-- | src/rpc/message.h | 2 |
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() { } |