From 3f4cc4535d5ff4a48bfb4b22504f53018091110f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6=20Fahlke?= Date: Tue, 14 Jan 2014 23:28:25 +0000 Subject: [PATCH] Explicitly initialize members of fundamental types; avoids "jump depends on uninitialized value"-warnings by valgrind. --- src/wallet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet.h b/src/wallet.h index 428fcdd7..e8ea75ff 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -98,6 +98,7 @@ public: nMasterKeyMaxID = 0; pwalletdbEncryption = NULL; nOrderPosNext = 0; + nTimeFirstKey = 0; } CWallet(std::string strWalletFileIn) { @@ -108,6 +109,7 @@ public: nMasterKeyMaxID = 0; pwalletdbEncryption = NULL; nOrderPosNext = 0; + nTimeFirstKey = 0; } std::map mapWallet;