diff options
author | Tadeas Moravec <moravec.tadeas@gmail.com> | 2018-12-14 13:45:41 +0000 |
---|---|---|
committer | Tadeas Moravec <moravec.tadeas@gmail.com> | 2018-12-14 13:45:41 +0000 |
commit | 611db08a00ecd03400cd0d1b44ca26d44b98c277 (patch) | |
tree | 5813dea38ea4b9272d07a512c6e35ad6851637d9 | |
parent | Merge pull request #4927 (diff) | |
download | monero-611db08a00ecd03400cd0d1b44ca26d44b98c277.tar.xz |
Wallet: Initialize members without default ctor.
Found by Coverity (188336 in Anonimal's Coverity account).
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 097278961..a108c108f 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -899,6 +899,7 @@ wallet2::wallet2(network_type nettype, uint64_t kdf_rounds, bool unattended): m_multisig(false), m_multisig_threshold(0), m_node_rpc_proxy(m_http_client, m_daemon_rpc_mutex), + m_account_public_address{crypto::null_pkey, crypto::null_pkey}, m_subaddress_lookahead_major(SUBADDRESS_LOOKAHEAD_MAJOR), m_subaddress_lookahead_minor(SUBADDRESS_LOOKAHEAD_MINOR), m_light_wallet(false), @@ -913,6 +914,7 @@ wallet2::wallet2(network_type nettype, uint64_t kdf_rounds, bool unattended): m_last_block_reward(0), m_encrypt_keys_after_refresh(boost::none), m_unattended(unattended), + m_devices_registered(false), m_device_last_key_image_sync(0) { } |