aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-26 08:16:08 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-27 19:52:37 +0000
commitd0faae2a922effe64706aae95a095d39c9c3e3ee (patch)
tree3fb330869a8debf408edd0f332aae14c73a35125
parentrpc: do not propagate exceptions out of a dtor (diff)
downloadmonero-d0faae2a922effe64706aae95a095d39c9c3e3ee.tar.xz
rpc: init a few missing client_info members
Coverity 205414
Diffstat (limited to '')
-rw-r--r--src/rpc/rpc_payment.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/rpc_payment.cpp b/src/rpc/rpc_payment.cpp
index 0637db728..b363c27b2 100644
--- a/src/rpc/rpc_payment.cpp
+++ b/src/rpc/rpc_payment.cpp
@@ -59,6 +59,10 @@
namespace cryptonote
{
rpc_payment::client_info::client_info():
+ previous_seed_height(0),
+ seed_height(0),
+ previous_seed_hash(crypto::null_hash),
+ seed_hash(crypto::null_hash),
cookie(0),
top(crypto::null_hash),
previous_top(crypto::null_hash),