aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/account.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-16 10:22:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-16 11:58:50 +0000
commit7cc39845be1cfa9286dec589d4f1c94381b140d9 (patch)
tree4156432afcf4bcd80029559370b0ef5e46559298 /src/cryptonote_basic/account.cpp
parentwallet2: initialize some scalar fields in ctor where appropriate (diff)
downloadmonero-7cc39845be1cfa9286dec589d4f1c94381b140d9.tar.xz
account: init creation timestamp to 0
Never actually used uninitialized Coverity 136615
Diffstat (limited to 'src/cryptonote_basic/account.cpp')
-rw-r--r--src/cryptonote_basic/account.cpp1
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()