From 7cc39845be1cfa9286dec589d4f1c94381b140d9 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 16 Oct 2018 10:22:24 +0000 Subject: account: init creation timestamp to 0 Never actually used uninitialized Coverity 136615 --- src/cryptonote_basic/account.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cryptonote_basic') 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() -- cgit v1.2.3