Explicitly initialize members of fundamental types; avoids "jump depends on

uninitialized value"-warnings by valgrind.
This commit is contained in:
Jö Fahlke 2014-01-14 23:28:25 +00:00
parent 9233a01d8f
commit 3f4cc4535d

View File

@ -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<uint256, CWalletTx> mapWallet;