diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 10:22:24 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-16 11:58:50 +0000 |
commit | 7cc39845be1cfa9286dec589d4f1c94381b140d9 (patch) | |
tree | 4156432afcf4bcd80029559370b0ef5e46559298 /src | |
parent | wallet2: initialize some scalar fields in ctor where appropriate (diff) | |
download | monero-7cc39845be1cfa9286dec589d4f1c94381b140d9.tar.xz |
account: init creation timestamp to 0
Never actually used uninitialized
Coverity 136615
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_basic/account.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_basic/account.cpp b/src/cryptonote_basic/account.cpp index e891a748d..1dc1ad71d 100644 --- a/src/cryptonote_basic/account.cpp +++ b/src/cryptonote_basic/account.cpp @@ -136,6 +136,7 @@ DISABLE_VS_WARNINGS(4244 4345) void account_base::set_null() { m_keys = account_keys(); + m_creation_timestamp = 0; } //----------------------------------------------------------------- void account_base::forget_spend_key() |